ssh newbie can't login
Hello all,
I'm a newbie to ssh and I can't login to my shiny new file server running VL 7.0 Lite. I'd be grateful for any wisdom out there.
Here's what I get trying to log in from 192.168.0.145:
dh@anthochaera:~> ssh -v root@acanthorhynchus
OpenSSH_5.4p1, OpenSSL 1.0.0 29 Mar 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to acanthorhynchus [192.168.0.21] port 22.
debug1: Connection established.
debug1: identity file /home/dh/.ssh/id_rsa type 1
debug1: identity file /home/dh/.ssh/id_rsa-cert type -1
debug1: identity file /home/dh/.ssh/id_dsa type -1
debug1: identity file /home/dh/.ssh/id_dsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
There's a pause of a few seconds before the final line appears. I never get challenged for a password.
I get similar responses from three other clients, so I doubt it's a client-side problem. The clients are three versions of OpenSuse (13.1 back to 10.3- soon to be retired) and Android 4.4.2 (running Juice ssh). I can ssh into the Suse 13.1 box no trouble at all.
On the server, I know sshd is running:
acanthorhynchus:/~
root:# cat /var/run/sshd.pid
5864
even though 'service' says otherwise:
acanthorhynchus:/~
root:# service sshd status
service sshd is not active.
I doubt hosts.allow is a problem, as the same OpenSuse boxes can all access NFS shares on acanthorhynchus. For what it's worth, here is the one active line in hosts.allow is:
ALL: 192.168.0.128/25
(Yes, I know /25 is a bit odd. Visitors using my wifi get addresses below 192.168.0.128 from DHCP, and they won't get access to the server.)
/etc/ssh/sshd_config is completely unmodified 'out-of-the-box'. Its only uncommented line is
Subsystem sftp /usr/libexec/sftp-server
which doesn't seem relevant.
I don't suspect a firewall problem, as acanthorhynchus is not running a firewall. (The whole LAN is behind a Smoothwall box.)
I've taken advice from an older post, "ssh login problem" (
http://forum.vectorlinux.com/index.php?topic=14733)