setting up ssh ubuntu server client code example
Example 1: apt install openssh
sudo apt-get install openssh-server
Example 2: how to install ssh server on ubuntu 16.04
$ sudo apt-get install ssh
sudo apt-get install openssh-server
$ sudo apt-get install ssh