Skip to content

Instantly share code, notes, and snippets.

@Alex4386
Last active January 3, 2024 04:20
Show Gist options
  • Save Alex4386/d456a5bdce2f83469df394d032ab5587 to your computer and use it in GitHub Desktop.
Save Alex4386/d456a5bdce2f83469df394d032ab5587 to your computer and use it in GitHub Desktop.
SSH 사용시 Cryptographic method negotiation 실패하는 경우

Unable to negotiate with ?????? port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

.ssh/config

Host *
  HostKeyAlgorithms +ssh-rsa

Important: Rollback after you do this. or use -o "HostKeyAlgorithms +ssh-rsa" flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment