Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/expect
- spawn sftp -b cmdFile user@xxx.xxx.xxx.xxx
- expect "password:"
- send -- "root"
- interact
- line 2: spawn: command not found
- couldnt read file "password":no such file or directory
- line 4: send: command not found
- line 5: interact: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement