Hello!
Spectrum 10.4.2, found a problem with SSH connecting to CISCO ASR9K IOS-XR routers from the OneClick console client by the right button.
For ease of finding problems, I use the OneClick settings for a direct connection between my host and the Cisco device.
The Cisco logs show that the client is applying SSH version 1.
If on Cisco ASR9K allow in 1, the connection still fails.
To other types of devices (ASA, C76xx IOS), the connection of the SSH is normal.
Maybe the problem is in the model?
Is the SSH version configured in the model?
############## OneClick console telnet debug ##################
ноя 02, 2020 19:14:19.590 (PoolThread-19: GlobalPool => TelnetAction) (TELNET) - createSocket: connType = dev, host = 10.250.68.129, relayHost = 0x1000000, port = 22
ноя 02, 2020 19:14:19.762 (PoolThread-19: GlobalPool => TelnetAction) (TELNET) - createNetworkConnection: connType = dev, host = 10.250.68.129, relayHost = 0x1000000, port = 22
java.io.IOException: Удаленный хост принудительно разорвал существующее подключение
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at com.mindbright.nio.Switchboard.handleKey(Switchboard.java:458)
at com.mindbright.nio.Switchboard.run(Switchboard.java:363)
at java.lang.Thread.run(Unknown Source)
############## Cisco Host MSN_01_052_1 ip 10.25.68.129 logs ##################
RP/0/RSP0/CPU0:2020 Nov 2 19:14:19.760 MSK: SSHD_[65931]: %SECURITY-SSHD-3-ERR_DETAILS : Client closes socket connection 10.41.255.77 Connection reset by peer
RP/0/RSP0/CPU0:2020 Nov 2 19:14:19.761 MSK: SSHD_[65931]: %SECURITY-SSHD-6-INFO_GENERAL : Error in receiving remote SSH version
RP/0/RSP0/CPU0:2020 Nov 2 19:14:19.761 MSK: SSHD_[65931]: %SECURITY-SSHD-3-ERR_GENERAL : Failed in version exchange
RP/0/RSP0/CPU0:2020 Nov 2 19:14:19.768 MSK: SSHD_[1166]: %SECURITY-SSHD-6-INFO_GENERAL : Incoming SSH session rate limit exceeded
############## Direct connection (not through the OneClick console) from my host to the ASR9K IOS-XR router device ####################
D:\Portable\PyCmd> ipconfig
Настройка протокола IP для Windows
Адаптер Ethernet Ethernet:
DNS-суффикс подключения . . . . . :
Локальный IPv6-адрес канала . . . : fe80::8084:46a6:731e:cef6%26
IPv4-адрес. . . . . . . . . . . . : 10.41.255.77
Маска подсети . . . . . . . . . . : 255.255.255.192
Основной шлюз. . . . . . . . . : 10.41.255.126
D:\Portable\PyCmd> ssh
alit@10.250.68.129THIS DEVICE IS PART OF A
------------------------
PRIVATE NETWORK
---------------
************************************************
* Unauthorised access or use of this equipment *
* is prohibited and constitutes an offence. *
* If you are not authorised to use this *
* system, terminate this session now. *
************************************************
password:
RP/0/RSP0/CPU0:MSN_01_052_1#