reset linux server from cmd code example Example: How to restart Ubuntu via SSH? sudo service ssh restart