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.
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.