Ubuntu Linux: Start / stop / restart OpenSSH / ssh server

Start OpenSSH server


Type the following command:
$ sudo /etc/init.d/ssh start

Stop OpenSSH server

Type the following command:
$ sudo /etc/init.d/ssh stop

Restart OpenSSH server

Type the following command:
$ sudo /etc/init.d/ssh restart