Title: RE: [linux] SSH & Xinetd

Tourne dej�? /etc/init.d/sshd stop
?

> -----Original Message-----
> From: NDV [mailto:[EMAIL PROTECTED]]
> Sent: lundi 30 septembre 2002 18:41
> To: [EMAIL PROTECTED]
> Subject: [linux] SSH & Xinetd
>
>
> Hello,
>
> J'essaie de faire du serveur SSHd un truc demarrable par
> xinetd. Ci dessous
> mes logs... J'ai reussi a me loger sur le systeme en venant
> d'un autre range
> que celui mentionne a la directive "only_from"...
>
> Il manque quelque chose dans ma configuration? server_args
> incomplet? Comment
> faire pour recevoir un Email lorsqu'un utilisateur est logge
> ou essaie de
> se logger?
>
> Merci pour vos lumieres.
>
> Nicolas
>
>
> [root@host]:cat /var/log/message | grep ssh
>
> [...]
> Sep 30 14:59:21 host rc: Starting sshd:  succeeded
> Sep 30 14:59:23 host xinetd[573]: bind failed (Address
> already in use (errno
> = 98)). service = ssh
> Sep 30 15:02:48 host sshd(pam_unix)[940]: session opened for
> user bonhomme
> by (uid=0)
> Sep 30 15:05:46 host xinetd[1082]: bind failed (Address
> already in use (errno
> = 98)). service = ssh
> Sep 30 15:06:15 host sshd(pam_unix)[930]: session closed for
> user bonhomme
> Sep 30 15:06:32 host sshd(pam_unix)[1084]: session opened for
> user bonhomme
> by (uid=0)
> Sep 30 15:06:35 host sshd(pam_unix)[1084]: session closed for
> user bonhomme
> Sep 30 15:07:15 host sshd(pam_unix)[1148]: session opened for
> user bonhomme
> by (uid=0)
> Sep 30 15:11:40 host xinetd[1239]: bind failed (Address
> already in use (errno
> = 98)). service = ssh
> Sep 30 17:21:28 host sshd(pam_unix)[1148]: session closed for
> user bonhomme
> [...]
>
> [root@host]# cat /etc/xinetd.d/ssh
>
> service ssh
> {
>     disable           = no
>     socket_type         = stream
>     wait                = no
>     user                = root
>     server              = /usr/sbin/sshd
>     port                = 22
>     server_args         = -i
>     only_from           = 195.238.72.0
>     access_times        = 09:00-19:00
>     log_on_success    = USERID PID HOST EXIT DURATION
>     log_on_failure      = ATTEMPT USERID HOST RECORD
> }
>
> [root@host]# /etc/rc.d/init.d/xinetd status
> xinetd (pid 1259) is running...
> [root@host]#
>
>
>
>
>
>
> _______________________________________________
> Linux Mailing List - http://www.unixtech.be
> Archives: http://www.unixtech.be/mailman/listinfo/linux
> IRC: efnet.skynet.be:6667 - #unixtech
>


This electronic transmission and any attached document is intended exclusively for the person or entity to whom it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you receive this message in error, please contact the sender and delete the material from any and all computers. SPEOS does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays.


Répondre à