www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Using the putty private key for authentication

Using the putty private key for authentication

From: Velichko Yuriy <velichko.yuriy_at_gmail.com>
Date: Sat, 6 Jul 2013 16:16:11 +0300

Hello!

I have problems with authentification with putty privat key using function:
libssh2_userauth_publickey_fromfile()

The connection is not established with error:

Unable to establish SSH tunnel. Authentification by public key failed.

If convert the key to the OpenSSH format - and use new file - the
authentification performed correctly.

Can anyone suggest how can I use the putty key to establish ssh connections.
Maybe c/c++ libs that converts the putty key...

Thanks!

-- 
Best Regards!

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-07-06

the libssh2 team