Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Hosts
- hostarray=(
- "host1"
- "host2"
- "host3"
- )
- for i in "${hostarray[@]}"; do
- ssh "$i" "command here"
- done
- ssh -tt user@host
- Defaults:puppet
- puppet ALL=(ALL) NOPASSWD: ALL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement