Recently Ubuntu version 22.04 removed authentication via RSA, at the moment this distribution only accepts authentication via Elliptic Curve. We use the LIBSSH2 library, which currently does not have licensing for the Elliptic Curve, but we have already been informed that the next updates will bring this licensing.
If you are trying to access a Linux Ubuntu version 22.04 machine and you are faced with the screen above, follow the steps below to solve this error.
First step:
Access the machine you want to register in VaultOne and use the commands below:
sudo su
cd /etc/ssh
nano sshd_config
Second step:
After accessing the ssh service configuration file, go to the end of the file and in the last lines type the two commands below:
HostKeyAlgorithms=+ssh-rsa,ssh-rsa-cert-v01@openssh.com
PubkeyAcceptedAlgorithms=+ssh-rsa,ssh-rsa-cert-v01@openssh.com
Use Ctrl+X to exit, save the file by selecting Y and press ENTER to confirm.
Third step:
Use the command below to restart sshd, that way the machine will consider the changes we made.
systemctl restart sshd
Now you can access your machine through VaultOne.
Found your answer? If in doubt, send us an email! help@vaultone.com
Comments
0 comments
Please sign in to leave a comment.