using NANO and 3.5.0. It seems that SSH key-based authentication is not yet supported
In my research on SSH so far, apart from password authentication, I understand that an SSH server can authenticate a client using the client’s public key installed on the server.
I reviewed the example ssh/SshServerUserKey, but it appears that this is not designed for key-based authentication. Please correct me if I’m wrong. This example seems more focused on enabling users to upload their server host private keys to the application, which are then used during the SSH handshake.
In contrast, the ssh/sshServerUserAuth example allows adding a username and password, but does not seem to support key authentication. The UserAuthManager::CheckUserAuth() method only checks for passwords and does not provide a mechanism for handling key-based authentication, such as creating a challenge using the client’s public key when the authentication type is eAuthTypeKey.
ssh key based authentication
Re: ssh key based authentication
Hello RebootExpert,
It is not currently implemented, but is on our list to add as a feature. It is supported in the underlying system code, but needs to be exposed and tested in an API. That is something we will begin looking at in January and hopefully be in the next release.
It is not currently implemented, but is on our list to add as a feature. It is supported in the underlying system code, but needs to be exposed and tested in an API. That is something we will begin looking at in January and hopefully be in the next release.