How to enable SSH on Ubuntu

H

How Can We Help?

How to enable SSH on Ubuntu

This could come in handy if your Desktop machine is at a Remote Location and you need to gain access to it.

NOTE: SSH = Secure Shell

Open a new Terminal Window (CLI) and type in the following command to install SSH

{codecitation class=”brush: bash;”}sudo apt-get install ssh{/codecitation}

After installation you can test it to SSH to your localhost (use your standard username and password)

Example

{codecitation class=”brush: bash;”}ssh localhost{/codecitation}

You’ll see the following

{codecitation class=”brush: bash;”}The authenticity of host ‘localhost (::1)’ can’t be established.
RSA key fingerprint is af:f0:36:84:26:48:50:03:14:d5:51:6f:95:e7:dc:a7.
Are you sure you want to continue connecting (yes/no)?{/codecitation}

select yes and enter your password and your in!!

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me