Skip to content

Instantly share code, notes, and snippets.

@adriantorrie
Created November 11, 2014 10:40
Show Gist options
  • Save adriantorrie/98ecb2648e29813f465b to your computer and use it in GitHub Desktop.
Save adriantorrie/98ecb2648e29813f465b to your computer and use it in GitHub Desktop.
Ubuntu 14.04 - Remote shutdown another Ubuntu machine using ssh
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