Subject: Re: Key-based authentication with libssh2_userauth_publickey_fromfile()

Re: Key-based authentication with libssh2_userauth_publickey_fromfile()

From: Paresh Thakor <paresh.thakor_at_moontechnolabs.com>
Date: Sat, 11 Sep 2010 11:12:59 +0530

Okay, i'll take a look for these all information you have provided and put my efforts to work over them. Thanks for your help.

Regards,
Paresh Thakor.

On Sep 11, 2010, at 11:09 AM, Ted Lemon wrote:

> It turns out that there's a function that (I think!) will export the key in ssh format for you: SecKeychainItemExport(). I suspect the format you want is kSecFormatSSHv2. I can't say for sure, though, because I haven't actually tried it. But I'd give that a shot and see what happens.
>
> In case it isn't already obvious to you, you might also want to follow this advice: http://www.iphonedevsdk.com/forum/iphone-sdk-development/41323-note-about-seckeygeneratepair.html
>
>
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-09-11