usage of rsync without typing password
I'm working on a file download project which would download files from remote server to local server. The plan is to use rsync. when I perform rsync, it asks for my password on the remote server before starting the transfer. I would like to avoid this, and perform rsync without password.
I've googled a solution. Please see the link: http://www.thegeekstuff.com/2011/07/rsync-over-ssh-without-password/
Let me give a brief introduction of this solution. The solution askes the user (like me) to use ssh-keygen on local server to generate public and private keys, and then upload this public key to the remote server using ssh-copy-id. Since we need to download files from other companies' servers, I'm kind of worried that other companies may not allow us to upload file to their servers.
Are there any other ways to avoid this password typing step?
链接地址: http://www.djcxy.com/p/60050.html上一篇: 如何结合find,ssh和rsync通过时间戳传输文件
下一篇: 使用rsync而不输入密码