Search Results

Search: Posts Made By: cyg
676,692
Posted By cyg
use expect
using expect can get around the password verification issue.


/usr/local/bin/expect <<EOF
spawn /usr/local/bin/sftp user@remotehost
expect "password:"
send "cd pub \r"
expect "sftp> "
send...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 12:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy