I have two linode VPS accounts and I want to back up one onto the other (the reasons are mainly for fun and to practice server administration.)
the short version
Duplicity isn't even asking for my password, but immediately says "invalid SSH password" (but I can ssh into the other server). why?
the long version
When I run duplicity /home/me scp://root@x.x.x.x//root/backup
I get
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)
And it says Invalid SSH password
immediately with no opportunity for me to actually type the password.
When I type duplicity full -v9 --num-retries 4 /home/me scp://root@x.x.x.x//root/backup
I get
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)
I can ssh into root@x.x.x.x fine, and in fact have the ip in known_hosts before I tried any of this. serer 1 (from which I'm running the duplicity command) is Linode's default Ubuntu 8 setup with only a handful of programs installed via apt-get. server 2 (represented by x.x.x.x) is literally only Linode's default Ubuntu 8 setup
I previously tried using SystemImager -- would that have changed settings in a destructive way? (I have removed and rebooted since then)
Isn't Duplicity supposed to prompt for password? Am I using it wrong? are there common mistakes/dependencies I need to know about? Is there any way that x.x.x.x could be setup that could make this not work (I used Linode's default Ubuntu 8 setup and barely )?