Problems with sshd after kernel update (Debian)
My hoster updated the Linux kernel on my Debian system to 2.6.18-028stab070.5. After the update it wasn't possible to connect by ssh anymore.
Booted the system in recovery mode. /var/log/auth.log showed the following errors:
error writing /proc/self/oom_adj: Operation not permitted error: Bind to port 22 on a.b.c.d failed: Cannot assign requested address. fatal: Cannot bind any address.
The following changes fixed the problem:
/etc/defaults/ssh:
old value: SSHD_OOM_ADJUST=-17 new value: unset SSHD_OOM_ADJUST
/etc/ssh/sshd_config:
commented out ListenAddress
Both changes were necessary … Insights anybody? I'd really like to have my ListenAddress back …