[Lula] ssh just quit, now won't start

Steve Glasser steve at fpig.net
Thu Sep 7 01:01:13 EDT 2006


Hi gang,

I am in the process of deploying a samba PDC server for my lucky
employer.  It's a small shop with XP clients, a couple of macs and a few
network printers.

The o/s is debian sarge with the 2.6.8 kernel, all updates.  The
hardware is a "re-purposed" desktop with a big hd (ok, they're cheap).
Samba, cupsys, dhcp and dns are installed, also ssh (the deb--includes
server).  The idea is to run the machine headless.

Everything seemed normal until this afternoon when sshd quit and would
not re-start.  I have done apt-get --purge remove and apt-get install,
but sshd still refuses to start.  Tried rebooting--nothing.  

I am completely baffled.  Any help gladly accepted.  See below for more
info

Thanks, Steve

> ls -l /etc/rc2.d | grep ssh
lrwxrwxrwx  1 root root 13 Sep  6 15:27 S20ssh -> ../init.d/ssh
> ls -l /etc/rc3.d | grep ssh
lrwxrwxrwx  1 root root 13 Sep  6 15:27 S20ssh -> ../init.d/ssh
> ls -l /etc/rc4.d | grep ssh
lrwxrwxrwx  1 root root 13 Sep  6 15:27 S20ssh -> ../init.d/ssh
> ls -l /etc/rc5.d | grep ssh
lrwxrwxrwx  1 root root 13 Sep  6 15:27 S20ssh -> ../init.d/ssh
> ls -l /etc/rc6.d | grep ssh
lrwxrwxrwx  1 root root 13 Sep  6 15:27 K20ssh -> ../init.d/ssh
> ls -l /etc/rcS.d | grep ssh
> ls -l /etc/rc1.d | grep ssh
lrwxrwxrwx  1 root root 13 Sep  6 15:27 K20ssh -> ../init.d/ssh

> cat /etc/ssh/sshd_config
# Package generated configuration file
# See the sshd(8) manpage for details

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes

# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 600
PermitRootLogin yes
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile	%h/.ssh/authorized_keys

# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

# Change to yes to enable tunnelled clear text passwords
PasswordAuthentication no


# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

X11Forwarding no
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
KeepAlive yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net

Subsystem	sftp	/usr/lib/sftp-server

UsePAM yes


> ls -l /usr/sbin/sshd
-rwxr-xr-x  1 root root 286648 Nov 28  2004 /usr/sbin/sshd
> ls -l /etc/ssh/sshd_not_to_be_run
ls: /etc/ssh/sshd_not_to_be_run: No such file or directory
> ls -l /var/run/sshd
total 0
> ls -la /var/run/sshd
total 8
drwxr-xr-x   2 root root 4096 Nov 28  2004 .
drwxr-xr-x  11 root root 4096 Sep  6 16:33 ..
> tree /var/run/sshd
/var/run/sshd

0 directories, 0 files
-- 
Steve Glasser
Network Administrator
Delta Grading
951-352-8783
sglasser at deltagrading.com

_______________________________________________
Lula mailing list
Lula at lula.org
http://www.lula.org/mailman/listinfo/lula


More information about the Lula mailing list