This is a discussion on Re: sftp batch mode and password authentication within the OpenSSH Development forums, part of the Networking and Network Related category; Hi, > Is = > there anyother alternatives ? As far as alternatives are concerned, the recommended way to accomplish you= r ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
> Is = > there anyother alternatives ? As far as alternatives are concerned, the recommended way to accomplish you= r goal is: - Use public key authentication and create a key pair without passphrase fo= r batch job purposes only. - Limit the key usage via options in the server's ~/.ssh/authorized_keys fi= le With this setup you have non-interactive authentication, which can be start= ed by cron jobs for instance. Moreover, misuse of the passphrase-less key is limited throug= h the options. Regards, Tobias L=FCtticke ponraj schrieb: > Hi all, > = > I used to execute ftp in batch mode to dowload files. In my case, passwor= d = > authentication is the only way to get remote access. Could anyone tell me = > how can i accomplish the same task using sftp under batchmode as what i h= ave = > done with ftp ? Meanwhile, how can i specify the password securely ? Is = > there anyother alternatives ? > = > -- > Thanks > M.P = > = > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev@mindrot.org > http://www.mindrot.org/mailman/listi...enssh-unix-dev > = > = > = _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org http://www.mindrot.org/mailman/listi...enssh-unix-dev |