Created
November 11, 2014 10:40
-
-
Save adriantorrie/98ecb2648e29813f465b to your computer and use it in GitHub Desktop.
Ubuntu 14.04 - Remote shutdown another Ubuntu machine using ssh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -t name@remote-host 'sudo shutdown -h now' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment