Ale*_*ird 4 backup ssh linode duplicity
我有两个linode VPS 帐户,我想将一个备份到另一个(原因主要是为了好玩和练习服务器管理。)
Duplicity 甚至没有询问我的密码,而是立即说“无效的 SSH 密码”(但我可以通过 ssh 进入另一台服务器)。为什么?
当我跑步时,duplicity /home/me scp://root@x.x.x.x//root/backup我得到
Invalid SSH password
Running 'sftp root@x.x.x.x' failed (attempt #1)
Invalid SSH password
Running 'sftp root@x.x.x.x' failed (attempt #2)
Invalid SSH password
Running 'sftp root@x.x.x.x' failed (attempt #3)
Run Code Online (Sandbox Code Playgroud)
它Invalid SSH password立即说,我没有机会实际输入密码。
当我输入时,duplicity full -v9 --num-retries 4 /home/me scp://root@x.x.x.x//root/backup我得到
Main action: full
Running 'sftp root@97.107.129.67' (attempt #1)
State = sftp, Before = 'Connecting to 97.107.129.67...
root@97.107.129.67's'
State = sftp, Before = ''
Invalid SSH password
Running 'sftp root@97.107.129.67' failed (attempt #1)
Run Code Online (Sandbox Code Playgroud)
我可以很好地通过 ssh 进入 root@xxxx,实际上在我尝试任何这些之前就已经在 known_hosts 中拥有了 ip。serer 1(我从中运行 duplicity 命令)是 Linode 的默认 Ubuntu 8 设置,仅通过 apt-get 安装了少数程序。服务器 2(由 xxxx 表示)实际上只是 Linode 的默认 Ubuntu 8 设置
我以前尝试过使用 SystemImager——这会以破坏性的方式改变设置吗?(从那时起我已经删除并重新启动)
Duplicity 不应该提示输入密码吗?我用错了吗?是否有我需要了解的常见错误/依赖项?有什么办法可以设置 xxxx 使其不起作用(我使用了 Linode 的默认 Ubuntu 8 设置并且几乎没有)?
| 归档时间: |
|
| 查看次数: |
3961 次 |
| 最近记录: |