Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mariotpc/20b54ad45ba743061cc2f1b145f70045 to your computer and use it in GitHub Desktop.
Save mariotpc/20b54ad45ba743061cc2f1b145f70045 to your computer and use it in GitHub Desktop.
Unable to negotiate with <IP> port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
ssh -oHostKeyAlgorithms=+ssh-dss -oPubkeyAcceptedAlgorithms=+ssh-dss -oKexAlgorithms=+diffie-hellman-group1-sha1 <username>@<IP>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment