libssh2-tunnel-example icon indicating copy to clipboard operation
libssh2-tunnel-example copied to clipboard

Very nice, but fails with public keys

Open marriusco opened this issue 5 years ago • 2 comments

Hi, libssh2_userauth_publickey_fromfile (sess, user, psrv_key.pub, psrv_key.priv, 0) and or ibssh2_userauth_publickey_fromfile_ex and or ibssh2_userauth_publickey_frommemory all fails with -18. while the at the shell the: ssh -i ./psrv_key.priv user@server works fine.

marriusco avatar Jun 12 '20 02:06 marriusco

@marriusco ibssh2_userauth_publickey_frommemory only works if you use OpenSSL as backend so I think this issue can be closed.

0x8f701 avatar Oct 18 '20 17:10 0x8f701