Unable to negotiate with port 22: no matching key exchange method found
#227127
Ссылка:
Ссылка на сообщение:
Ссылка с названием темы:
Ссылка на профиль пользователя:
|
Участник
Откуда: Из браузера
Сообщения: 21 059
|
|
При подключении к старому устройству по протоколу ssh из современной ос может возникнуть ошибка подобного плана 1. 2.
[avkoudinov@hp-envy-phoenix ~]$ ssh 192.168.100.254
Unable to negotiate with 192.168.100.254 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
Детальнее: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30.
[avkoudinov@hp-envy-phoenix ~]$ ssh -v 192.168.100.254
OpenSSH_8.9p1, OpenSSL 1.1.1q FIPS 5 Jul 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 192.168.100.254 [192.168.100.254] port 22.
debug1: Connection established.
debug1: identity file /home/avkoudinov/.ssh/id_rsa type -1
debug1: identity file /home/avkoudinov/.ssh/id_rsa-cert type -1
debug1: identity file /home/avkoudinov/.ssh/id_ecdsa type -1
debug1: identity file /home/avkoudinov/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/avkoudinov/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/avkoudinov/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/avkoudinov/.ssh/id_ed25519 type -1
debug1: identity file /home/avkoudinov/.ssh/id_ed25519-cert type -1
debug1: identity file /home/avkoudinov/.ssh/id_ed25519_sk type -1
debug1: identity file /home/avkoudinov/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/avkoudinov/.ssh/id_xmss type -1
debug1: identity file /home/avkoudinov/.ssh/id_xmss-cert type -1
debug1: identity file /home/avkoudinov/.ssh/id_dsa type -1
debug1: identity file /home/avkoudinov/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.9
debug1: Remote protocol version 2.0, remote software version Cisco-1.25
debug1: compat_banner: match: Cisco-1.25 pat Cisco-1.* compat 0x60000000
debug1: Authenticating to 192.168.100.254:22 as 'avkoudinov'
debug1: load_hostkeys: fopen /home/avkoudinov/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: (no match)
Unable to negotiate with 192.168.100.254 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
Как исправить: 1. 2. 3. 4.
[avkoudinov@hp-envy-phoenix ~]$ ssh -c aes256-cbc -oKexAlgorithms=+diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-rsa r_anton@192.168.100.254
(r_anton@192.168.100.254) Password:
HOME-RT>
|
|