Hello
How can I use sftp in my shell script? The password isn't problem I use
ssh-agent or null Passphrase, but what commands?
My first test was broken.
$ sftp plat <./file_with_commands
local path : /usr/users/jiri
remote path : /usr/users/jiri
Warning: tcgetattr failed in ssh_rl_set_tty_modes: Not a typewriter
My second test was broken too. :-(
$ sftp plat <<EOF
> ls
> lpwd
> put test.file
> bye
> EOF
local path : /usr/users/jiri
remote path : /usr/users/jiri
Warning: tcgetattr failed in ssh_rl_set_tty_modes: Not a typewriter
Is any solution?
Thank you.
Jiri Landkammer
[EMAIL PROTECTED]