M HYPE SPLASH
// news

Enabling SSH remotely on Ubuntu 18.04

By Emma Terry

Suppose I have a server that has Ubuntu 18.04 installed. If I want to enable ssh on it, do I have to physically be in the server room to do it? Or can I do it remotely? I have a Windows laptop and just downloaded PuTTY. For the host name would I put the ip address of the nameserver? So if it is:

 nameserver 128.0.0.54 

is that the ip address I would enter into PuTTY?

Edit Actually would it be the ip from sudo lshw -C network?

6

1 Answer

SSH has a server part and client part. Your Ubuntu server should be having SSH server installed already and configured for you to be able to connect remotely using Putty (SSH client here).

To install SSH server, if it is not already installed, you have to be at the physical location of the server to login and install the needed packages.

I don't wish to enlist other tougher ways to get into the machine without SSH as it will be out of scope of the question asked.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy