Страница 1 из 1

не могу по scp скопировать конфиг. Ошибка no matching cipher found

Добавлено: 12 дек 2022 21:22
ssupotnitsky
Копирую я такой командой

copy running-config scp://eltexbackup:PASSWORD@172.17.xx.xx/1.cfg


На ssh сервере вот что в логах

Код: Выделить всё

Dec 12 17:17:52 backup3.xxx.net sshd[110516]: Connection from 172.17.x.x port 50261 on 172.17.20.11 port 22 rdomain ""
Dec 12 17:17:52 backup3.xxx.net sshd[110516]: Unable to negotiate with 172.17.x.x port 50261: no matching cipher found. Their offer: aes128-cbc,3des-cbc,arcfour,aes192-cbc,aes256-cbc [preauth]


На сервере в /etc/ssh/sshd_config
настройки такие

Код: Выделить всё

KexAlgorithms diffie-hellman-group1-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha256
#Ciphers aes256-gcm@openssh.com,aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
Ciphers 3des-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
#Ciphers 3des-cbc,aes128-cbca,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
#Ciphers aes128-ctr,aes192-ctr,aes256-ctr
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com



Я в принципе понимаю что надо в Ciphers писать правильные параметры шифрования. Не получаеться.

Я много чего пробовал подбирать в параметрах , не помогает.


Код: Выделить всё

ssh -Q cipher
3des-cbc
aes128-cbc
aes192-cbc
aes256-cbc
aes128-ctr
aes192-ctr
aes256-ctr
aes128-gcm@openssh.com
aes256-gcm@openssh.com
chacha20-poly1305@openssh.com

Re: не могу по scp скопировать конфиг. Ошибка no matching cipher found

Добавлено: 13 дек 2022 08:55
Евгений Т
Добрый день.

Прошу завести заявку по форме https://eltex-co.ru/support/
Туда помимо указанной информации приложить вывод show tech-sup