重复失败:不提示input密码:“运行'sftp user @ host'失败”

我有两个林德 VPS帐户,我想备份一个到另一个(原因主要是为了好玩和练习服务器pipe理)。

短版

Duplicity甚至没有要求我的密码,但立即说“无效的SSH密码”(但我可以SSH入其他服务器)。 为什么?

长版

当我运行duplicity /home/me scp://root@xxxx//root/backup我得到了

 Invalid SSH password Running 'sftp root@xxxx' failed (attempt #1) Invalid SSH password Running 'sftp root@xxxx' failed (attempt #2) Invalid SSH password Running 'sftp root@xxxx' failed (attempt #3) 

它说, Invalid SSH password立即没有机会实际input密码。

当我inputduplicity full -v9 --num-retries 4 /home/me scp://root@xxxx//root/backup我得到

 Main action: full Running 'sftp [email protected]' (attempt #1) State = sftp, Before = 'Connecting to 97.107.129.67... [email protected]'s' State = sftp, Before = '' Invalid SSH password Running 'sftp [email protected]' failed (attempt #1) 

我可以ssh进入根@ xxxx罚款,实际上已知的主机中的IP之前,我试过任何这一点。 serer 1(我从中运行duplicate命令)是Linode默认的Ubuntu 8安装程序,只有通过apt-get安装的一些程序。 服务器2(由xxxx表示)实际上只是Linode默认的Ubuntu 8安装程序

我以前尝试使用SystemImager – 是否会以破坏性的方式改变设置? (从那以后,我已经删除并重新启动)

Duplicity是不是应该提示input密码? 我用错了吗? 是否有我需要知道的常见错误/依赖关系? 有什么办法可以设置xxxx,可以使这不工作(我使用Linode的默认Ubuntu的8设置,几乎)?

来自口供(1)

–ssh-askpass告诉ssh / scp后端使用来自环境的FTP_PASSWORD,或者,如果不存在,则提示用户input远程系统密码。

只是供参考:我看到重复失败与“无效的SSH密码”时,实际上,问题是它试图SFTP的目录根本不存在。

(我在用户@主机之后省去了一个斜线,也就是说,当我需要scp:// user @ host // mnt / backups时,我已经完成了scp:// user @ host / mnt / backups。)