Using my private key to do so, this command allows me to connect to /home/backupUser/backup just fine:
$ sudo sftp -oPort=7843 backupUser@192.168.x.x:backup
However when I run duplicity, I get the following error:
duplicity full --exclude ... / scp://backupUser:passwd@192.168.x.x:7843:/backup
bash: wd@192.168.x.x:7843./backup: No such file or directory
I'm under the assumption that duplicity
would interpret the /backup
path as relative to the user's home directory.
But since the above command didn't work, I also tried leaving off the /
in the backup directory at the end of the command, i.e.
duplicity full --exclude ... / scp://backupUser:passwd@192.168.x.x:7843:backup
bash: wd@192.168.x.x:7843:backup: command not found
Is there something I'm missing here, like adding the passcode for the private key to make this command work?