Guest User

Untitled

a guest
Dec 11th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. while read host; do
  2. sudo sshpass -p 'passwd' ssh uname@$host 'sudo reboot';
  3. done < hosts.list
Add Comment
Please, Sign In to add comment