4 Replies Latest reply: Jun 16, 2010 12:04 PM by 807567 RSS

    Solaris 10 ssh hangs

      Fresh build Solaris 10 u8 as nis+ client. As a regular user trying to ssh to another server, ssh hangs. No prompt for password. Root can ssh to another server fine. Any user can log into any Solaris 10 server from a non Solaris 10 server just fine. This issue exists on all our Solaris 10 servers. Is there something new on Solaris 10 that would be causing this? I googled all day today and came up empty. Anybody ever ran into this issue? Here's the verbose output of ssh session.

      Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f
      debug1: Reading configuration data /etc/ssh/ssh_config
      debug1: Rhosts Authentication disabled, originating port will not be trusted.
      debug1: ssh_connect: needpriv 0
      debug1: Connecting to server [] port 22.
      debug1: Connection established.
      debug1: identity file /home/user/.ssh/identity type -1
      debug1: identity file /home/user/.ssh/id_rsa type -1
      debug1: identity file /home/user/.ssh/id_dsa type 2
      debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.1.1
      debug1: match: Sun_SSH_1.1.1 pat Sun_SSH_1.1.1*
      debug1: Enabling compatibility mode for protocol 2.0
      debug1: Local version string SSH-2.0-Sun_SSH_1.1.3
      debug1: use_engine is 'yes'
        • 1. Re: Solaris 10 ssh hangs
          Your name service is probably missing reverse lookup for these new servers.
          • 2. Re: Solaris 10 ssh hangs
            But as root it works fine. Wouldn't it error out with a host not found if it was reverse look up though? The shell just hangs and you can't cntrl C out of it. It also creates a defunct process and you have to kill -9 from another shell. Same goes for all the Solaris 10 servers we have. There are no firewalls between the servers and they're all on the same subnet. Still scratching my head on this one.
            • 3. Re: Solaris 10 ssh hangs
              Try running truss against the sshd daemon on the server and see where the child process(es) hang.
              truss -f -a -vall -wall -rall -l -d -e -o /your/output/file/name -p [sshd PID]
              Just be aware that such an output file will contain everything passing over the test SSH connection.
              • 4. Re: Solaris 10 ssh hangs
                The truss output didn't have any good information. However, I did find a work around. I installed Openssh from sunfreeware and it all works now.