Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #!/usr/bin/expect
  2. spawn sftp -b cmdFile user@xxx.xxx.xxx.xxx
  3. expect "password:"
  4. send -- "root"
  5. interact
  6.  
  7. line 2: spawn: command not found
  8. couldnt read file "password":no such file or directory
  9. line 4: send: command not found
  10. line 5: interact: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement