SHARE
TWEET

Untitled

a guest Jun 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top