fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Putty 0.60 OpenSSH_4.5p1 problem - SSH

This is a discussion on Putty 0.60 OpenSSH_4.5p1 problem - SSH ; We have servers running openssh 4.3.p2 - 4.5p1 From our workstations we used putty 0.58 to access them. Recently we upgraded our putty installations to 0.60 and were unable to access the servers running openssh 4.5p1. when we try putty ...


Fix Unix > Technologies & Tools > Protocols > SSH > Putty 0.60 OpenSSH_4.5p1 problem

Reply
 
LinkBack Tools
  #1  
Old 10-03-2007, 04:18 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Putty 0.60 OpenSSH_4.5p1 problem

We have servers running openssh 4.3.p2 - 4.5p1
From our workstations we used putty 0.58 to access them.

Recently we upgraded our putty installations to 0.60 and were unable to
access the servers running openssh 4.5p1.

when we try putty throws up a fatal error saying
"Incoming packet was garbled on decryption"

The event log for the session looks like this

2007-06-14 16:59:33 Looking up host "removed"
2007-06-14 16:59:33 Connecting to removed port 22
2007-06-14 16:59:33 Server version: SSH-2.0-OpenSSH_4.5
2007-06-14 16:59:33 We claim version: SSH-2.0-PuTTY_Release_0.60
2007-06-14 16:59:33 Using SSH protocol version 2
2007-06-14 16:59:33 Doing Diffie-Hellman group exchange
2007-06-14 16:59:35 Doing Diffie-Hellman key exchange with hash SHA-256
2007-06-14 16:59:37 Host key fingerprint is:
2007-06-14 16:59:37 removed
2007-06-14 16:59:37 Initialised AES-256 SDCTR client->server encryption
2007-06-14 16:59:37 Initialised HMAC-SHA1 client->server MAC algorithm
2007-06-14 16:59:37 Initialised AES-256 SDCTR server->client encryption
2007-06-14 16:59:37 Initialised HMAC-SHA1 server->client MAC algorithm
2007-06-14 16:59:37 Incoming packet was garbled on decryption

Does anyone have any ideas whats wrong?
Thanks
Reply With Quote
  #2  
Old 10-03-2007, 04:18 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Putty 0.60 OpenSSH_4.5p1 problem

On 2007-06-14, NPG wrote:
> We have servers running openssh 4.3.p2 - 4.5p1
> From our workstations we used putty 0.58 to access them.
>
> Recently we upgraded our putty installations to 0.60 and were unable to
> access the servers running openssh 4.5p1.
>
> when we try putty throws up a fatal error saying
> "Incoming packet was garbled on decryption"


You're using OpenSSL 0.9.8e on the server, right? If so, it has a bug
in it which causes it to report the wrong key length for variable-length
ciphers when used with non-default key lengths.

Assuming that's the case, you can:

a) patch openssl (the best fix). Will need to recompile openssh if it's
statically linked against openssl:
http://marc.info/?l=openssh-unix-dev...9202122302&w=2

b) upgrade to OpenSSH 4.6p1 which has a workaround for some (but not all)
of the cases that are affected. AES counter mode (which is what you
appear to be using) did get the workaround.

c) tell putty to use a different cipher. 128-bit AES will probably be ok.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
Reply With Quote
Reply

Tools


LinkBacks (?)
LinkBack to this Thread: http://fixunix.com/ssh/74200-putty-0-60-openssh_4-5p1-problem.html
Posted By For Type Date
FileZilla Forums • View topic - SFTP Error - Incoming packet was garbled on decryption This thread Refback 04-09-2008 03:02 PM
FileZilla Forums • View topic - SFTP Error - Incoming packet was garbled on decryption This thread Refback 04-09-2008 01:42 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
[PuTTY] How to make putty remember my login name? unix SSH 1 01-11-2008 09:27 PM
Putty problem with characters unix SSH 2 10-03-2007 04:19 AM
determining putty command line parameters corresponding to a saved putty session unix SSH 1 10-03-2007 04:18 AM
Transfer Putty Settings From a Windows Putty Client to a Linux Putty Client unix SSH 7 10-03-2007 04:11 AM
Using ssh tunnel created by PuTTy within PuTTy doesn't work unix SSH 1 10-03-2007 04:04 AM


All times are GMT. The time now is 09:35 AM.