Comment 6 for bug 126165

Revision history for this message
Tim Richardson (tim-richardson) wrote : Re: [Bug 126165] ssh connection hangs after authentication succeeds

Soren Hansen wrote:
> On Mon, Jul 16, 2007 at 12:15:42PM -0000, Tim Richardson wrote:
>
>> Soren, yes, the java ssh client connects from my Ubuntu desktop (the
>> machine from which ssh fails). The connection via Putty on Windows
>> works on the same home network (so via my NAT router, the same
>> internet IP); I can also connect through a proxy at work using Putty
>> or the java client). The remote server is a RedHat machine. The shell
>> is jailshell. For what it's worth, once I am logged on to the remote
>> server, I can ssh to the remote server (in effect to local host) with
>> no problems. So whatever setting problems there may be on the remote
>> server, they do not cause problems with the older version of
>> openssh-client on the remote server. It appears that there is an
>> incompatibility between the two openssh versions. I was able to ssh in
>> on older versions of Ubuntu ... Dapper, for example. How can I help to
>> further identify the problem?
>>
>
> Could you try prepending 'env -i' to your ssh command line to clear out
> the environment? There might be something there that confuses the
> server.
>
>
same end result.
here are the last lines of the debug output.

debug1: Sending environment.
debug2: channel 0: request shell confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768

and it hangs again at this point.