Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: libcurl and libssh2

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

2009/10/14 Xu, Qiang (FXSGSC) <>:
> With your help, here is the output:
> =================================================
> /* server */
> qxu_at_gso-prolix(pts/139):~[101]> ssh-keygen -l -f /etc/ssh/
> 1024 0e:c2:09:10:bc:7d:95:dd:52:1e:df:10:de:ee:a1:64 /etc/ssh/
> /* client */
> qxu_at_durian(pts/0):~/opensrc/curl-7.19.6/src[270]$ ssh-keygen -F -l -f ~/.ssh/known_hosts
> # Host found: line 1 type RSA
> =================================================
> 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

$ ssh-keygen -F -l -f ~/.ssh/known_hosts
# Host found: line 71 type RSA
2048 0b:f2:d3:94:9d:0f:75:be:69:15:33:42:b8:0d:88:ca (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* files matches. Maybe that is an SSH1
key in your known_hosts file?

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

Michael Wood <>
List admin:
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