Skip to content

Instantly share code, notes, and snippets.

@dianariyanto
Created December 31, 2023 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dianariyanto/8f8cf555e41cdf7a761f606bead574b7 to your computer and use it in GitHub Desktop.
Save dianariyanto/8f8cf555e41cdf7a761f606bead574b7 to your computer and use it in GitHub Desktop.
Unable to negotiate with 192.168.1.1 port 22: no matching host key type found. Their offer: ssh-rsa
ssh-keygen -f "/home/me/.ssh/known_hosts" -R "192.168.1.1"
ssh -oHostKeyAlgorithms=+ssh-rsa -t root@192.168.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment