Comment 7 for bug 126165

Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 126165] ssh connection hangs after authentication succeeds

On Mon, Jul 16, 2007 at 04:12:36PM -0000, Tim Richardson wrote:
> > 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.

I see. The next line I get is about lack of xauth on my server. Could
you try adding -X -A to your ssh command line to disable any attempt to
do X and ssh agent forwarding?

If that doesn't work, is there any chance you could run the server with
debugging enabled, too? Perhaps on a different port so as to not
interefere with your normal operation.

--
Soren Hansen
Ubuntu Server Team
http://www.ubuntu.com/