Ubuntu – How to set up a server for SSH


At my workplace (a university) we have two Ubuntu servers. One is a teacher server and the other is a student server. I am currently setting up a new server to replace the existing teacher server.

The new server is currently online and I am trying to get it setup so I can SSH into it from my home. Right now, I can SSH into the existing teacher or student server and then SSH into the new server. However, I can not SSH directly into the new server.

What must I do so that I can SSH directly into the new server?

Thank you very much in advance for your time.

Best Answer

If you already have ssh installed on the server and you can't connect from your home, probably you'll have to forward port 22 (or whatever port ssh is using) on the router.

Related Question