cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: libcurl and libssh2

From: Michael Wood <esiotrot_at_gmail.com>
Date: Wed, 14 Oct 2009 12:12:04 +0200

2009/10/14 Xu, Qiang (FXSGSC) <Qiang.Xu_at_fujixerox.com>:
[...]
> With your help, here is the output:
> =================================================
> /* server */
> qxu_at_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 */
> qxu_at_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 <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-14

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET