Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save double-z/9798758 to your computer and use it in GitHub Desktop.
Save double-z/9798758 to your computer and use it in GitHub Desktop.
knife ssh 'name:*' 'uptime' -G [email protected] -a private_ipaddress -x user
# to run chef-client on all servers:
knife ssh 'name:*' 'sudo chef-client' -G [email protected] -a private_ipaddress -x user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment