Subject: Re: known_hosts [early PATCH]

Re: known_hosts [early PATCH]

From: Simon Josefsson <simon_at_josefsson.org>
Date: Thu, 07 May 2009 09:28:11 +0200

Daniel Stenberg <daniel_at_haxx.se> writes:

> On Thu, 7 May 2009, Simon Josefsson wrote:
>
>> What about a function to add entries to the known_host file? Maybe it is
>> already there, and I didn't read carefully.
>
> No, that's one of the still missing pieces. I definately want to be able to do
> that...

Great.

> And I also want to be able to update a host in the known_host file
> when the key has changed and the user okays this.

Maybe that isn't a good idea, it trains users to just-click-yes to make
things work. I don't think OpenSSH has any mechanism to replace
hostkeys in the known_hosts file? Maybe that is because of the
just-click-yes concern.

OpenSSH offer a mechanism to configure it to not fail for incorrect keys
for a particular hosts, though. Maybe libssh2 could support that? I
think it should still warn, though.

/Simon

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-05-07