Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very nice, but fails with public keys #5

Open
marriusco opened this issue Jun 12, 2020 · 1 comment
Open

Very nice, but fails with public keys #5

marriusco opened this issue Jun 12, 2020 · 1 comment

Comments

@marriusco
Copy link

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.

@GopherJ
Copy link

GopherJ commented Oct 18, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants