sshd does not detach
I use the standard ssh package and sshd works, but only if I use the -D
switch (-D==not become daemon). This -D problem is a recent "feature".
Without the -D option, no process is created and connection is refused
(logically). If I do the "/etc/init.d/ssh start" everything looks ok
(the dot appears) but the daemon isn't there. I tried to reinstall and
reconfigure to no avail. When I used the -d (debug) option I found no
weird messages. I don't know exactly what -t (test config file) does but
it exits without messages.
A minor ssh bug is also that the init scripts do not warn if no pid file
is generated (indicating failure).
So: it works; there are no firewall problem, no allow/deny problems
But: It can not become a daemon even though this has worked for a very
Who has a clue? Please enlighten me...
ps: sshd_config added below
# Package generated configuration file
# See the sshd(8) manpage for defails
# What ports, IPs and protocols we listen for
# Use these options to restrict which interfaces/protocols sshd will bind to
# HostKeys for protocol version 2
#Privilege Separation is turned on for security
# ...but breaks Pam auth via kbdint, so we have to turn it off
# Use PAM authentication via keyboard-interactive so PAM modules can
# properly interface with the user (off due to PrivSep)
# Lifetime and size of ephemeral version 1 server key
# rhosts authentication should not be used
# Don't read the user's ~/.rhosts and ~/.shosts files
# For this to work you will also need host keys in /etc/ssh_known_hosts
# similar for protocol version 2
# Uncomment if you don't trust ~/.ssh/known_hosts for
# To enable empty passwords, change to yes (NOT RECOMMENDED)
# Uncomment to disable s/key passwords
# To disable tunneled clear text passwords, change to no here!
# To change Kerberos options
# Kerberos TGT Passing does only work with the AFS kaserver
Subsystem sftp /usr/lib/sftp-server