Guest User

Untitled

a guest
Apr 5th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #!/bin/bash
  2. while IFS="," read -r f1 f2
  3. do
  4. username="testuser"
  5. SSHPASS='VFR$5tgb' sshpass -e ssh -t "$username@$f1" "sudo su - root -c 'yum -y install wget'"< /dev/null ;
  6. done < Input.txt
  7.  
  8. #!/bin/bash
Add Comment
Please, Sign In to add comment