2009/10/14 Xu, Qiang (FXSGSC) <[email protected]>:
[...]
> With your help, here is the output:
> =================================================
> /* server */
> q...@gso-prolix(pts/139):~[101]> ssh-keygen -l -f 
> /etc/ssh/ssh_host_rsa_key.pub
> 1024 0e:c2:09:10:bc:7d:95:dd:52:1e:df:10:de:ee:a1:64 
> /etc/ssh/ssh_host_rsa_key.pub
>
> /* client */
> q...@durian(pts/0):~/opensrc/curl-7.19.6/src[270]$ ssh-keygen -F 
> 13.198.98.190 -l -f ~/.ssh/known_hosts
> # Host 13.198.98.190 found: line 1 type RSA
> 13.198.98.190 ssh-rsa 
> AAAAB3NzaC1yc2EAAAABIwAAAQEAqmvaJxoMOyeNAW5HPPP8OJtqOX2bBg
[...]
> =================================================
> Could you find any incompatibility between them?

Well, your ssh-keygen seems to be different from mine.  Maybe a
different version.  If I add that key to my known_hosts file, I get
this:

$ ssh-keygen -F 13.198.98.190 -l -f ~/.ssh/known_hosts
# Host 13.198.98.190 found: line 71 type RSA
2048 0b:f2:d3:94:9d:0f:75:be:69:15:33:42:b8:0d:88:ca 13.198.98.190 (RSA)

This is clearly different from your actual host key.

Since ssh-keygen -l doesn't seem to work on your client machine you
could also just check the actual keys directly.  See if one of the
other /etc/ssh/ssh_host*key.pub files matches.  Maybe that is an SSH1
key in your known_hosts file?

Can you connect using "ssh -2 13.198.98.190" without it asking to
accept the host key?

-- 
Michael Wood <[email protected]>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to