Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Connection auto SSH
- # Premier script
- hote='x.x.x.x'
- user='user'
- bash connect.sh | ssh $hote -u $user
- #!/bin/bash
- # Connection
- # Deuxième script
- pass='pass'
- sleep 1
- echo 'y'
- sleep 1
- echo $pass
Add Comment
Please, Sign In to add comment