Skip to content

Instantly share code, notes, and snippets.

@nirvanadev
Created April 22, 2022 18:05
Show Gist options
  • Save nirvanadev/6bc98339c2c18681f36b8e27cc8458b4 to your computer and use it in GitHub Desktop.
Save nirvanadev/6bc98339c2c18681f36b8e27cc8458b4 to your computer and use it in GitHub Desktop.
How to use RSA Algorithm with OpenSSH v9+

General

RSA Algorithm is depracted in latest versions of OpenSSH. To use Pubkeys with remote systems that haven't upgraded you need to add the two lines as shown below to hosts in your config.

Host *.ssh.wpengine.net
  HostkeyAlgorithms +ssh-rsa
  PubkeyAcceptedKeyTypes +ssh-rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment