openssh 6.2

Damien Miller djm at mindrot.org
Wed Aug 14 11:00:47 EST 2013


On Mon, 12 Aug 2013, Marlon Davis wrote:

> To the openssh community;
>
> I have installed openssh 6.2 on my mac book pro and tried to ssh to
> a server and the ssh session hangs. The host server shows that a
> connection was established but I cannot return a prompt to indicate
> that I am connected to the server. Can someone advise?

We can't really tell without seeing the server logs, though the server
(being "Sun_SSH_2.0") is not one we're so familiar with debugging.

If I had to guess based on where it was failing: the server is hanging
on getpwnam because of a broken nsswitch configuration. Right after
"debug1: SSH2_MSG_SERVICE_ACCEPT received" the client sends the first
user auth request, which will trigger the server to initialise its auth
code. One of the first things the server does here is look up the
username.

-d


More information about the openssh-unix-dev mailing list