Named host not found in known_hosts

Asked by Jim Cunning

I have created a password-less login to a remote host to use for my backups there. The ssh login works from the command line and ssh says it has added the hosts key to .ssh/known_hosts, but Back In Time complains that the host name was not found. Openssh no longer stores the public key of known hosts with the cleartext name or IP address of the host, but using ECDSA. I don't know the format of this key, nor how to get Back In Time to recognize it. Does anyone have any suggestions?

Question information

Language:
English Edit question
Status:
Answered
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Germar (germar) said :
#1

Hi Jim,
which distribution do you use? What is your OpenSSH version? Can you please post the output of 'ssh-keygen -F <HOST>'?

Thanks and regards,
Germar

Revision history for this message
Jim Cunning (jcunning) said :
#2

~$ rm .ssh/known_hosts
~$ cat /etc/issue
Ubuntu 12.04.2 LTS \n \l
~$
~$ ssh -V
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
~$
:~$ ssh -pxx22 <email address hidden>
The authenticity of host '[office.xxxxxxxx-sd.net]:xx22 ([xx.xxx.xxx.xx]:xx22)' can't be established.
ECDSA key fingerprint is c8:5b:d0:aa:51:15:64:5d:95:f6:9f:f3:b4:90:48:01.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[office.xxxxxxx-sd.net]:xx22,[xx.xxx.xxx.xx]:xx22' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-15-generic x86_64)

 * Documentation: https://help.ubuntu.com/
New release 'oneiric' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: Tue Feb 19 10:20:31 2013 from ipxx-x-xxx-xx.sd.sd.cox.net
$
Connection to office.xxxxxxx-sd.net closed.
~$ ssh-keygen -F office.xxxxxxxx-sd.net
~$

Revision history for this message
Germar (germar) said :
#3

That's because of the port is not 22. I opened a bug for this. Please find the patch that I provide in that bug-report.

Regards,
Germar

Can you help with this problem?

Provide an answer of your own, or ask Jim Cunning for more information if necessary.

To post a message you must log in.