1. Installing SSH Server:
- openssh-server package can be found in linux software center. Alternatively open terminal and run below command.
sudo apt-get install openssh-server
2. Enabling SSH on Ubuntu:
- Once ssh installed on the machine create backup of sshd_config file with sshd_config.defaults filename to restore in case configuration is messed up.
Change permission of defaults backup file using chmod command given below.
sudo chmod a-w /etc/ssh/sshd_config.defaults
3. Restart/Reboot SSH Server
- For Ubuntu 14.04 and below version
- For Ubuntu 15.04 and above version
Now you will be able to connect to ubuntu using any ssh client application like PuTTY, Bitvise, winscp etc. Just follow below steps.