[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Authentication
[Thread Prev] | [Thread Next]
- Subject: Authentication
- From: Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 28 Jul 2020 08:25:05 -0300
- To: libssh@xxxxxxxxxx
Hi, I can login with ssh command line: ssh -i /custom-dir/ssh_keys/myPrivateKey somehost But libssh ssh_userauth_try_publickey() keep answering (1- SSH_AUTH_DENIED): 'Error :Access denied for ''publickey''. Authentication that can continue: publickey,gssapi-keyex,gssapi-with-mic,password' Also ssh_session_is_known_server_() answer 1 (SSH_KNOWN_HOSTS_OK). It seems that the server does not accept my public key but i'm able to login with ssh. Any hint on this ? regards, bruno PS: i'm following the steps at: https://api.libssh.org/stable/libssh_tutor_authentication.html
Re: Authentication | Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx> |