====== Ubuntu - SSH - Restart SSH ====== Execute the following command: sudo service ssh restart ---- Alternatively use the old-fashioned method to restart the service: sudo /etc/init.d/ssh restart
sudo service ssh restart
sudo /etc/init.d/ssh restart