This brief tutorial shows you how to enable SSH in Ubuntu 12.04 Precise Pangolin. This request came in from one of our readers who wanted to know how to enable SSH in Ubuntu 12.04. As you may already know, SSH is a secure communication protocol that lets you remotely access networked computers. It is known as a replacement for Telnet which is very unsecure. While Telnet sends traffic in plain text, SSH on the other hand uses a secure protocol to communicate.

Objectives:

  • Enable SSH in Ubuntu 12.04
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to install SSH Server.

sudo apt-get install openssh-server

 

openssh_server_precise

 

That’s it! Use your SSH clients to connect to your machine using the default port 22. If you wish to change the connection port, run the commands below to open the configuration file.

sudo gedit /etc/ssh/sshd_config

 

openssh_server_precise_1

 

Then change the port # shown to whatever you want and save the file. But remember to use the new port number every time you want to connect to your system via SSH.

 

openssh_server_precise_2

 

Enjoy!

 

openssh_server_precise_3

 

For a simple and quick SSH client, click here to download Putty.