powered by simpleCommunicator - 2.0.18     © 2024 Programmizd 02
Map
Форумы / UNIX-подобные OC [закрыт для гостей] / Unable to negotiate with port 22: no matching key exchange method found
1 сообщений из 1, страница 1 из 1
Unable to negotiate with port 22: no matching key exchange method found
    #227127
basename
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
При подключении к старому устройству по протоколу 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>
...
Рейтинг: 0 / 0
1 сообщений из 1, страница 1 из 1
Форумы / UNIX-подобные OC [закрыт для гостей] / Unable to negotiate with port 22: no matching key exchange method found
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали тему (1): Анонимы (1)
Игнорируют тему (1): erbol 
Читали форум (1): Анонимы (1)
Пользователи онлайн (54): Анонимы (43), Yandex Bot, pashtetos1 1 мин., unique 1 мин., Горбатый ёж 1 мин., erbol 2 мин., sergey11 3 мин., Кусь 5 мин., жЫвоглот 5 мин., Bing Bot 5 мин., Дед-Папыхтет 7 мин., С чистого листа 7 мин.
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]