How to control ubuntu server remotely?

I am leaving for colledge and hoping to be able to access the command prompt from my dorm. obvi will be a different network than my house
67 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by pigmaster6373#0
ProGamingDk
ProGamingDk2y ago
Getting Started | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Deleted User
Deleted User2y ago
Alright so you want to control your entire ubuntu or just make mc servers remotely?
Pigmaster6373
Pigmaster6373OP2y ago
would rather be able to control the whole thing
Deleted User
Deleted User2y ago
If entire use RDP or anydesk
Pigmaster6373
Pigmaster6373OP2y ago
its ubuntu server
Deleted User
Deleted User2y ago
ssh only leaves you with terminal to my knowledge
ProGamingDk
ProGamingDk2y ago
not rdp u can setup vnc
Pigmaster6373
Pigmaster6373OP2y ago
correct thats all i want
Deleted User
Deleted User2y ago
Oh yeah forget that
ProGamingDk
ProGamingDk2y ago
How to Install and Configure VNC on Ubuntu 20.04 | DigitalOcean
Virtual Network Computing, or VNC, is a connection system that allows you to use your keyboard and mouse to interact with a graphical desktop environment on …
Pigmaster6373
Pigmaster6373OP2y ago
ok so im going to help yall out here and say im really bad at all this like i can pick it up but idk what your talking about. only can do any of this from youtube tutorials
ProGamingDk
ProGamingDk2y ago
oh wait i see nvm u could just use tailscale to access internal network from outside ur network
Pigmaster6373
Pigmaster6373OP2y ago
ok then just like putty for ssh? thats what i do rn
ProGamingDk
ProGamingDk2y ago
no
Pigmaster6373
Pigmaster6373OP2y ago
ok
ProGamingDk
ProGamingDk2y ago
Tailscale
Tailscale
Tailscale is a zero config VPN for building secure networks. Install on any device in minutes. Remote access from any network or physical location.
Discount Milk
Discount Milk2y ago
What I'd do is port forward a non standard port for ssh (some isps don't let you port forward 22) set ssh to listen on that non-standard port, setup fail2ban, and just use putty like you're used to.
Deleted User
Deleted User2y ago
Sorry for the absence im working on making my custom pterodactyl theme
Pigmaster6373
Pigmaster6373OP2y ago
ok fun little annoying thing xfinity switched their port forwarding to the app
Discount Milk
Discount Milk2y ago
All of these terms and steps are documented plenty online
Pigmaster6373
Pigmaster6373OP2y ago
and its the worst user experience ever you can only forward one port per computer as far as i understand
Deleted User
Deleted User2y ago
Use ngrok or playit.gg if your desperate
ProGamingDk
ProGamingDk2y ago
ouch
Pigmaster6373
Pigmaster6373OP2y ago
maybe im wrong let me look again
Discount Milk
Discount Milk2y ago
I'm pretty sure you're wrong
ProGamingDk
ProGamingDk2y ago
u could portforward ur mc port and use cloudflare tunnels to tunnel ssh
Discount Milk
Discount Milk2y ago
You can only forward each port to one pc
Pigmaster6373
Pigmaster6373OP2y ago
what would fail2ban do
ProGamingDk
ProGamingDk2y ago
protect against bruteforcing
Discount Milk
Discount Milk2y ago
Fail2ban prevents people from brute forcing your server.
Pigmaster6373
Pigmaster6373OP2y ago
is that common
ProGamingDk
ProGamingDk2y ago
yes
Pigmaster6373
Pigmaster6373OP2y ago
its just a vanilla mc server
Discount Milk
Discount Milk2y ago
It is an internet connected device.
Pigmaster6373
Pigmaster6373OP2y ago
with a whitelist
ProGamingDk
ProGamingDk2y ago
a entire bot net was made of JUST servers with weak ssh credentials.
Pigmaster6373
Pigmaster6373OP2y ago
ok
Discount Milk
Discount Milk2y ago
If there is an internet connected service, it WILL be scanned and brute forced if possible.
Pigmaster6373
Pigmaster6373OP2y ago
ok thx i didn't know that ok so instead of asking yall to step by step it what should i be googling like im too dumb to find a guide
Discount Milk
Discount Milk2y ago
Minecraft there isn't really much you can do to "brute force" it, but it will be scanned
Pigmaster6373
Pigmaster6373OP2y ago
nothing seems to match what i want to do especially for ubuntu server
Discount Milk
Discount Milk2y ago
Each of these things you can Google individually
Deleted User
Deleted User2y ago
Wait you dont use GUI?
Pigmaster6373
Pigmaster6373OP2y ago
i just dont even know what to search no its just ubuntu server. all command prompt
Discount Milk
Discount Milk2y ago
So 1) Google how to port forward 2) Google how to set ssh on another port 3) Google how to setup fail2ban 4) setup fail2ban 5) port forward your non standard port 6) enjoy your ssh access from outside the network
Pigmaster6373
Pigmaster6373OP2y ago
alright man you gave me exactly what i wanted. my only question is when im outside my network what will i put in for like the address
Deleted User
Deleted User2y ago
You can use your ip but if you want it easy and remembarableadghus
Pigmaster6373
Pigmaster6373OP2y ago
No description
Discount Milk
Discount Milk2y ago
If you're outside your house, your house public IP. If you're inside your home network, use your private IP
Pigmaster6373
Pigmaster6373OP2y ago
and is there any ports i should/should not choose?
Deleted User
Deleted User2y ago
trash, use no-ip or duckdns or get a free domain from https://freenom.com
Pigmaster6373
Pigmaster6373OP2y ago
i have a couple things thru freedns
Discount Milk
Discount Milk2y ago
Not guaranteed he has static ip at home, cbf to walk through ddns
Pigmaster6373
Pigmaster6373OP2y ago
i do have static ip
Deleted User
Deleted User2y ago
what is cbf
Discount Milk
Discount Milk2y ago
"can't be fucked"
Pigmaster6373
Pigmaster6373OP2y ago
ok guys ill leave you be. Im not going to close the question yet ill report back thank you so much tho
Discount Milk
Discount Milk2y ago
No worries my friend, report back if you get stuck on any guides or anything
Pigmaster6373
Pigmaster6373OP2y ago
@Señor Leche OMFG IT WORKS
Discount Milk
Discount Milk2y ago
POG
Pigmaster6373
Pigmaster6373OP2y ago
i even connected with my phone
Discount Milk
Discount Milk2y ago
Good shit
Pigmaster6373
Pigmaster6373OP2y ago
dude you rock ok how do i close this thread you are so awesome
Discount Milk
Discount Milk2y ago
All you brother :bolbfingerguns: Pinned message homie ;)
Pigmaster6373
Pigmaster6373OP2y ago
oops sorry. first day 🙂 !solved
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by pigmaster6373#0

Did you find this page helpful?