how to setup ssh on a unbuntu server code example
Example 1: How to restart Ubuntu via SSH?
sudo service ssh restart
Example 2: how to install ssh server on ubuntu 16.04
$ sudo service ssh start
sudo service ssh restart
$ sudo service ssh start