Re: [Help me] sftp script...




I used get.sh script in AIX machine, but I shoud use sftp.
How can I make a sftp scipt including password ? (script file includes 1,2,3
procedure)

Most sftp software is designed to accept a password only from a tty, so
you would have to use a tool like Expect. A better idea is to use a
different authentication method that allows for automatic usage, such as
hostbased or plaintext publickey (no passphrase). See:

http://www.snailbook.com/faq/no-passphrase.auto.html

- Richard
.



Relevant Pages