How to start and stop sshd service in a single command? 2 code example Example: ssh restart ubuntu sudo service ssh restart