Skip to content

Instantly share code, notes, and snippets.

@bitmand
Created March 8, 2015 10:28
Show Gist options
  • Save bitmand/1c2c1119d27727ac33d4 to your computer and use it in GitHub Desktop.
Save bitmand/1c2c1119d27727ac33d4 to your computer and use it in GitHub Desktop.
Running salt "locally" over ssh
$ alias salt='ssh -t saltmaster.example.com "sudo salt $1"'
$ salt '*' test.ping
[sudo] password for user:
host1.example.com:
True
host2.example.com:
True
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment