Last active
December 23, 2023 20:56
-
-
Save levid0s/e4f219ff9d27741173fd56e93741211e to your computer and use it in GitHub Desktop.
SSH: Unable to negotiate, no matching key exchange method found
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ssh [email protected] | |
Unable to negotiate with 192.168.1.1 port 22: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,[email protected] | |
$ ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -o PubkeyAuthentication=no -o PreferredAuthentications=password -o HostKeyAlgorithms=+ssh-rsa [email protected] | |
BusyBox v1.23.2 (2019-02-19 01:57:00 UTC) built-in shell (ash) | |
# sources: | |
# https://unix.stackexchange.com/questions/15138/how-to-force-ssh-client-to-use-only-password-auth | |
# https://unix.stackexchange.com/questions/340844/how-to-enable-diffie-hellman-group1-sha1-key-exchange-on-debian-8-0 | |
# Tunnel web admin via jumpbox | |
ssh -L 8082:192.168.1.1:80 user@jumpbox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment