在运行linux服务器的CentOS 6.4上,我试图将文件夹与strato (http://www.strato-hosting.co.uk/online-storage-hidrive/advanced/)同步。服务器正在运行rsync版本3.0.9。
我为将rsync设置为hidrive所做的工作:
ssh-keygen -f /root/.ssh/id_rsa -t rsa -N ''/opt/rsync/bin/rsync -av -e 'ssh' --rsh="ssh -p22" /home/user/example/ mystratousername@rsync.hidrive.strato.com:/users/mystratousername/通常情况下,它只需要rsync,但是现在它需要一个密码(虽然我没有使用密码)。我的确在其他5台机器上安装了这个,但我大约半年前就安装好了。
发布于 2013-08-09 09:16:05
问题在于id_rsa.pub密钥长度,显然密钥的默认位长不同于默认的2048 (就像在另一台服务器上一样),所以当我使用-b 2048重新生成密钥时,它确实为我工作。请注意,这可能只是因为斯特拉图劫持驱动器的要求。
https://serverfault.com/questions/529597
复制相似问题