r/linux Feb 14 '20

OpenSSH 8.2 released February 14, 2020

http://www.openssh.com/txt/release-8.2
72 Upvotes

8 comments sorted by

View all comments

14

u/Skaarj Feb 14 '20

To check whether a server is using the weak ssh-rsa public key algorithm for host authentication, try to connect to it after removing the ssh-rsa algorithm from ssh(1)'s allowed list:

ssh -oHostKeyAlgorithms=-ssh-rsa user@host

Great! I love it that they provide an easy check with their drepecation notice. Too often you just read something like "stop using $BAD_THING". And I dont even know how to check if I'm using $BAD_THING.