install ssh client and server ubuntu 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 service ssh start
sudo apt-get install openssh-server
$ sudo service ssh start