cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8987
Views
30
Helpful
8
Replies

XR 5.1.1 and Putty

Garry Peirce
Level 1
Level 1

I'm having (repeatable) trouble SSH'ing into a ASR9001 running v5.1.1 using PuTTY (6.3).

Anyone else?  

I've been using PuTTY for years without seeing this issue, so I'm thinking 5.1.1 may be acting differently.

 

I can make the session fail easily by logging in and spacing through a 'show run'.

It always fails with the connection breaking part way through the listing with 

"Disconnected: Server protocol violation: unexpected SSH2_MSG_CHANNEL_FAILURE packet"

 

The same PuTTY client works fine into ASR9001s running  4.2.3/4.3.0.

I can connect without issue using a linux OpenSSH (4.3p2) or Windows TeraTerm (4.8.1) SSH as clients,

it's just this PuTTY-v5.1.1 combination that seems to cause a problem.

 

PuTTY uses: AES256-CBC and HMAC-SHA1

TeraTerm also uses: AES256-CBC HMAC-SHA1

OpenSSH uses: AES-128 HMAC-MD5

 

fwiw, my ASR vty and ssh config is the same on 5.1.1 as it is for previous revs.   

8 Replies 8

xthuijs
Cisco Employee
Cisco Employee

hi gary,

aha interesting, I think I know what is going on, this may be a bug in the ssh code that putty "exploits".

can you file a tac case for me and collect the debug ssh messages for this also when this problem is occurring as that is necessary for us to fix the ssh issue.

Can you also try to set the term len to 0 and see if the issue still occurs?

there is a control messaging issue here and based on the details of the debugs and the term len 0 it will point us in the right direction.

 

cheers!

xander

Xander,

With your thought and gathering a PuTTY debug, I believe I've found it.

In the debug I saw this occuring:   (SSH2_MSG_CHANNEL_WINDOW_ADJUST)

I had to change the following setting within PuTTY. Once set, the connection does not drop.

Change the following session parameter from the default of 'Auto' to 'On'.

Connection...SSH...Bugs...'Chokes on PuTTYs SSH2 winadj request'

FWIW, setting to 'On'  does not seem to negatively impact sessions that were working beforehand.

thanks!

 

 

 

 

 

 

 

 

Thank you - The solution was spot on.

Thank you. Worked for me.

 

Regards,

This is CSCup31447

Thanks for the information - I was having the same issue with XR Version 5.3.1, Once I change the setting in Putty the SSH session does not drop

 

Damon

dkerse
Level 1
Level 1

Sorry to bump this old thread, and thank you for the suggested fix for PuTTY.

 

Is there also a fix for MobaXterm? I seem to be hitting the same issue.

 

MobaXterm Professional Edition v10.5 Build 3582

According to the MobaXterm blog there's already a automatic fix - has it stopped working?

https://blog.mobatek.net/post/mobaxterm-new-release-8.5/

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: