Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while IFS="," read -r f1 f2
- do
- username="testuser"
- SSHPASS='VFR$5tgb' sshpass -e ssh -t "$username@$f1" "sudo su - root -c 'yum -y install wget'"< /dev/null ;
- done < Input.txt
- #!/bin/bash
Add Comment
Please, Sign In to add comment