[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Host key authenticity could not be verified

From: Brandon Keepers
Subject: Re: [Duplicity-talk] Host key authenticity could not be verified
Date: Sun, 23 Sep 2007 21:35:02 -0400


On Sep 23, 2007, at 12:44 PM, Kenneth Loafman wrote:

Brandon Keepers wrote:
When I try to run duplicity 0.4.4.RC1 to back up my mac, I get this error:

Host key authenticity could not be verified (missing known_hosts entry?)
Running 'sftp  address@hidden' failed (attempt #1)

It will retry 5 times and give up. Here are the options I'm passing to

sudo duplicity --allow-source-mismatch \
    --encrypt-key $GPG_KEY --sign-key $GPG_KEY \
    --exclude-device-files --exclude-other-filesystems \
    --exclude-globbing-filelist /etc/duplicity_excludes.txt \
    / scp://address@hidden/backups

I have an SSH key set up so I don't need a password to log into my
server, and I'm able to just run the sftp command:

$ sftp  address@hidden
Connecting to

Any ideas?

D'oh! (like Homer Simpson)

I missed the fact that in the first case you are doing sudo and in the
second you are doing it as a normal use. It won't work that way. Root is its own user. You need to either set up root as a key on the remote,
or in /root/.ssh/ add a 'config' file with the following lines.

IdentityFile /home/user/.ssh/id_rsa
IdentityFile /home/user/.ssh/id_dsa

where 'user' is your user name.

You may also use "--ssh-options="-oIdentityFile=/home/user/.ssh/ id_rsa"
on the duplicity command line.

Thanks for the suggestion, but that didn't do it. I tried changing the identity file and running without sudo, both giving me the same "Running 'sftp address@hidden' failed (attempt #1)" error


reply via email to

[Prev in Thread] Current Thread [Next in Thread]