SSH authorized keys

Hi,

I'd like to avoid password connexion and use key-pair exchange instead. Is that supported? How to proceed?

Key pairs are not supported yet. If you want more security, you can enable 2FA authentication.

Hello, thank you for your answer, however 2FA is used for GUI, while my request is related to CLI access through SSH.
Moreover, I'd be happy to activate 2FA on my SSH key, but I need to be able to register authorized keys first :wink:

We will do some testing and update here. @_zhang Please follow up

1 Like

You can follow the steps below to use the key to log in:

  1. Use the ssh-keygen tool on the computer to generate a key pair (usually saved in the ~/.ssh/ directory by default)
ssh-keygen -t ecdsa -f test_key
  1. Create a new /root/.ssh directory on comet and save the generated public key test_key.pub to the /root/.ssh/ directory, named authorized_keys
  2. Log in using the key on the computer
ssh -i ~/.ssh/test_key [email protected]

Hi, thank you very much. Indeed the implemented dropbear does not support all key types, and EC-DSA is working well.
Therefore my problem is solved :smiley: