Chris PeBenito schrieb: > On Fri, 2007-08-24 at 10:43 +0200, Paul Rauch wrote: >> Hello list, >> after I installed selinux sshd does not work anymore. >> it fails to bind to port 22: >> "[sshd] error: Bind to port 22 on 0.0.0.0 failed: Address already in use". >> I already tried to fix it according to the troubleshooting: > > Do you have any denial messages in dmesg/syslog? > I now managed to get things labeled correctly, and It now does not produce the can't bind to port message anymore. but still it does not allow me to login remotely. I don't know why, though. but the output from netstat -nlp confuses me (see attachment)
and yes, it send out some errors(this happens when running
/etc/init.d/sshd restart):
Aug 28 16:59:39 [sshd] Received signal 15; terminating.
Aug 28 16:59:40 [kernel] audit(1188313180.050:92): avc: denied { read
} for pid=6805 comm="sshd" name="lib" dev=hda3 ino=48675
scontext=system_u:system_r:sshd_t tcontext=system_u:object_r:default_t
tclass=lnk_file
Aug 28 16:59:40 [sshd] Server listening on 0.0.0.0 port 22.
greetz Paul Rauch
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6660/sshd udp 0 0 127.0.0.1:123 0.0.0.0:* 4196/ntpd udp 0 0 192.168.9.59:123 0.0.0.0:* 4196/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 4196/ntpd Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 13113 4000/python /tmp/fail2ban.sock
signature.asc
Description: OpenPGP digital signature
