Is there anyway to automate a command line SFTP to transfer files to a SSH Server. Please advice. Thanks
Depends on the direction. sftp user at site:/path/to/file.tgz works very nicely. for put you should do like: echo "put file /path/to/lcation/filename.tgz" | sftp user at site You can use SSH keys as your form of authenitication. - Ben On Sat, 12 Jan 2002 chuayl at 1-net.com.sg wrote:> > > Is there anyway to automate a command line SFTP to transfer files to a SSH > Server. > > Please advice. Thanks > > > _______________________________________________ > openssh-unix-dev at mindrot.org mailing list > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev >
> Is there anyway to automate a command line > SFTP to transfer files to a SSH Server.You may want to check out using rsync over ssh. http://samba.anu.edu.au/rsync/index.html http://samba.anu.edu.au/ftp/rsync/rsync.html http://rsync.samba.org/rsync/fom-serve/cache/38.html Greg S. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020113/c44fb8c2/attachment.html
> Is there anyway to automate a command line > SFTP to transfer files to a SSH Server.You may want to check out using rsync over ssh. http://samba.anu.edu.au/rsync/index.html http://samba.anu.edu.au/ftp/rsync/rsync.html http://rsync.samba.org/rsync/fom-serve/cache/38.html Greg S.