Если у вас случилась подобная неприятность:
root@sip:~# ssh admin@10.10.10.5
Protocol major versions differ: 2 vs. 1
Во-первых, это означает что у вас на сервере/железке включен ssh версии 1 (это небезопасно во многих случаях, однако, все же лучше чем telnet который передает пароли в открытом виде). Для решения используем следующую команду:
root@sip:~# ssh -1 admin@10.10.10.5
Но в итоге можем получить:
The authenticity of host '10.10.10.5 (10.10.10.5)' can't be established.
RSA1 key fingerprint is 6f:dc:58:8d:e3:c5:46:bf:1b:a4:e0:d5:ed:29:06:64.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.10.10.5' (RSA1) to the list of known hosts.
Selected cipher type <unknown> not supported by server.
Тут явно видно, что на удаленном сервере/железке используется только DES. Что ж, будем использовать его.
root@sip:~# ssh -1 admin@10.10.10.5
Selected cipher type <unknown> not supported by server.
root@sip:~# ssh -c DES -1 admin@10.10.10.5
Warning: use of DES is strongly discouraged due to cryptographic weaknesses
admin@10.10.10.5's password:
Type help or '?' for a list of available commands.
ciscoasa>
ciscoasa> en
Password: ********
ciscoasa#
Доступ получен, все просто.