Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- USER="root"
- HOST="10.32.235.49"
- PASS="shroot12"
- expect -c "
- set timeout 20000
- spawn ssh -r -P 2205 /tmp/upgradePreChecks.py $USER@$HOST:/tmp/
- expect "*assword:"
- send "shroot12r"
- expect eof
- "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement