Install and enable SSH in Ubuntu 14.04

I was setting up a service on a local computer with Ubuntu 14.04 Trusty Tahr OS which I realized there is no SSH server daemon what so ever on Ubuntu, so I thought installation and enabling SSH in Ubuntu 14.04 can be a issue for some beginners, so here is the solution:

First you should install the OpenSSH server:

sudo apt-get install openssh-server

Then you are better to configure the configuration file, but this step is optional though it is recommended.

sudo nano -Sw /etc/ssh/sshd_config

( For saving the configuration press Ctrl + y and then press Enter two times to save the file )

At this point your configuration is ready and y9ou should researt the service so that it reads the configuration file once again and apply them:

sudo restart ssh


Leave a Reply

Your email address will not be published. Required fields are marked *

This is new type of CAPTCHA, make the puzzle please !WordPress CAPTCHA