libssh2-tunnel-example
libssh2-tunnel-example copied to clipboard
Very nice, but fails with public keys
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 ibssh2_userauth_publickey_frommemory only works if you use OpenSSL as backend so I think this issue can be closed.