The following config Protocol 2 Port 22 ListenAddress :: AllowTcpForwarding no GatewayPorts no X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes PrintMotd no KeepAlive yes LogLevel info HostKey /etc/ssh/ssh_host_rsa_key ServerKeyBits 768 KeyRegenerationInterval 3600 StrictModes yes MaxAuthTries 6 #MaxAuthTriesLog 3 PermitEmptyPasswords no PasswordAuthentication yes PermitRootLogin yes Subsystem sftp /usr/lib/ssh/sftp-server IgnoreRhosts no RhostsRSAAuthentication no IgnoreUserKnownHosts yes RSAAuthentication no PubkeyAuthentication yes HostbasedAuthentication yes results in Connection refused on trying to connect. server debug1: sshd version OpenSSH_5.3p1 debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key. debug1: read PEM private key done: type RSA debug1: private host key: #0 type 1 RSA debug1: rexec_argv[0]='/config/utilities/sshd/sshd' debug1: rexec_argv[1]='-ddd' debug2: fd 4 setting O_NONBLOCK debug1: Bind to port 22 on ::. Server listening on :: port 22. client debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to thecratedoor [192.168.1.39] port 22. debug1: connect to address 192.168.1.39 port 22: Connection refused The sshd provided with OpenSolaris does not have this problem when using the identical configuration.
OpenSolaris is snv_130. Its ssh is sshd version Sun_SSH_1.5.
(In reply to comment #0) > ListenAddress :: This is your problem. You have instructed sshd to listen on the IPv6 wildcard address only. Add: ListenAddress 0.0.0.0 or comment out your ListenAddress entirely, restart sshd and it should work.
Mass move of bugs RESOLVED->CLOSED following the release of openssh-5.5p1