Re: sftp keyboard-interactrive bypass?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Murray wrote:

>              I am trying to make a cron job copy files using sftp. 
> Unfortunately the server only accepts password,keyboard-interactive
> modes. So I would really like to redirect standard in.
>    However, if I make a script like this:
>    sftp  hhh@yyy <input.txt
> it still requests the pasword from the keyboard. Is there any way to
> get round this? I really cannot change the settings on the server.

	You should look at expect.  It's tailor made for this exact purpose.

Joe


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux