Hi,
I'm experiencing problems with RDM ssh connections to my icx switch.
Connections keeps disconnecting few seconds after login.
I'm getting the error FAIL_PROTOCOL_ERROR.
In log file the error is Received disconnection message, code: 2 Reason: Bad packet content
When connecting to switch with putty I do not have that problems.
TY.
LOG:
[22.11.2022. 14:38:45] Devolutions Protocols version: 2022.11.8.1 Windows
[22.11.2022. 14:38:45] Starting SSH, verbose level: 2
[22.11.2022. 14:38:45] Setting up connection
[22.11.2022. 14:38:45] Connecting to port: 22 (IP any)
[22.11.2022. 14:38:45] Empty pre-connection PDU, ingnored
[22.11.2022. 14:38:45] SSH banner: SSH-2.0-RomSShell_5.40
[22.11.2022. 14:38:45] Sending kex init
[22.11.2022. 14:38:45] Received kex init
[22.11.2022. 14:38:45] Selected algorithms: diffie-hellman-group14-sha1, ssh-rsa, aes256-ctr, aes256-ctr, hmac-sha1, hmac-sha1, none, none
[22.11.2022. 14:38:45] Sending diffie-hellman kex init
[22.11.2022. 14:38:47] Received diffie-hellman kex reply
[22.11.2022. 14:38:47] Successfully authentified server
[22.11.2022. 14:38:47] Sending new keys message
[22.11.2022. 14:38:47] Sending userauth service request
[22.11.2022. 14:38:47] Received new keys message
[22.11.2022. 14:38:47] Received service accepted message
[22.11.2022. 14:38:47] Agent has no keys
[22.11.2022. 14:38:47] No suitable key found for authentication
[22.11.2022. 14:38:47] Sending userauth init request
[22.11.2022. 14:38:47] Received userauth failure: publickey,password,keyboard-interactive
[22.11.2022. 14:38:47] Starting interactive authentication
[22.11.2022. 14:38:47] Sending userauth interactive request
[22.11.2022. 14:38:47] Received userauth info request:
[Prompt->Password:]
[22.11.2022. 14:38:47] Sending userauth interactive response
[22.11.2022. 14:38:47] Received userauth success
[22.11.2022. 14:38:47] User authenticated successfuly by password interactive
[22.11.2022. 14:38:47] Sending session channel open request: 0/-
[22.11.2022. 14:38:47] Received channel open confirmation: 0/0 WS 200000/8192 MPS 32000/8192
[22.11.2022. 14:38:47] Sending pty request: 0/0 xterm-256color width = 228 height = 59
[22.11.2022. 14:38:47] Received channel success: 0/0
[22.11.2022. 14:38:47] Sending shell request: 0/0
[22.11.2022. 14:38:47] Received channel success: 0/0
[22.11.2022. 14:38:52] Received disconnection message, code: 2
[22.11.2022. 14:38:52] Reason: Bad packet content
[22.11.2022. 14:38:52] Disconnection in progress
[22.11.2022. 14:38:52] Sending channel close request: 0/0
[22.11.2022. 14:38:52] Bytes sent: 1340, Bytes received: 1684
[22.11.2022. 14:38:52] Packets sent: 13, Packets received: 12
[22.11.2022. 14:38:52] Kex completed: 1
[22.11.2022. 14:38:52] Disconnecting
Hello,
May I ask you if you've tried configuring the Algorithm Support option within your SSH session entry ?
If so, what have you done so far ?
Best Regards,
Hi,
I tried to change Algorithm support, different combinations, Skip enviroment variable setup, Disable Nagle's algorithm. No luck. Always got disconnected on some switches sooner on some later (5-30 seconds). If I'm fast I'm able to write in terminal until the session closes.
This is output from icx ssh configuration:
>sh ip ssh config
SSH server : Enabled
SSH port : tcp\22
Host Key : RSA 2048
Encryption : aes256-cbc, aes192-cbc, aes128-cbc, aes256-ctr, aes192-ctr, aes128-ctr, 3des-cbc
Permit empty password : No
Authentication methods : Password, Public-key, Interactive
Authentication retries : 3
Login timeout (seconds) : 120
Idle timeout (minutes) : 5
SCP : Enabled
SSH IPv4 clients : All
SSH IPv6 clients : All
SSH IPv4 access-group :
SSH IPv6 access-group :
SSH Client Keys :
Client Rekey : 0 Minute, 0 KB
Server Rekey : 0 Minute, 0 KB
Hello,
Thank you for your swift reply!
Would it be possible for you to create a portable installation of the latest version of RDM and see if this issue still occurs? To do so, you will need to do the following:
1- Download the .zip file below:
https://remotedesktopmanager.com/home/thankyou/rdmbin
2- Create a new folder on your Desktop
3- Extract the content of the .zip file into the folder created at #2
4- Go to this folder once the .zip file has been extracted and run remotedesktopmanager.exe
5- Create an SSH Entry in the local data source created by default
6- Try to reproduce this issue
Best regards,
James Lafleur
Hi,
I've done everything you wrote. I needed to configure Algorithm support to diffie-hellman-group14-sha1, ssh-rsa, aes256-ctr, aes256-ctr, hmac-sha1, hmac-sha1, and it worked.
The problem was in Advanced/ping interval... It was configured to 5 sec. I set it on default value 0 and now it works.
Thank you.
Hello,
I am glad to see that you have found a fix for this issue. Thank you for sharing it with us.
Do not hesitate to contact us again if you require further assistance.
Best regards,
James Lafleur