[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ssh



SSH is not normally run from xinetd.  Normally you would just run
sshd, the SSH daemon.  Use chkconfig to see if it is supposed to be
running (as root):

 chkconfig --list sshd

Mine says:

 sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off

which is normal.  (Well, "2:on" is wrong, but innocuous because
networking is not on at runlevel 2.)  If yours doesn't say that, then

 chkconfig --level 345 on
 /etc/rc.d/init.d/sshd start

I have some comments about your xinetd.conf, below:

On Wed, Jul 25, 2001 at 08:22:27AM -0700, Liger-dc wrote:
> How do I configure my RH 7.1 box to accepts ssh connections? Here is my xinetd.conf fle
> 
> defaults
> {
> 	instances               = 60
>         log_type                = SYSLOG authpriv
>         log_on_success		= HOST PID
>         log_on_failure		= HOST
> 	per_source		= 5
> 	only_from		= xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

Aren't you missing a closing curly brace, "}", here?

These following two sections are normally in their own files in
/etc/xinetd.d/.

> service telnet
> {
> 	flags		= REUSE
> 	socket_type	= stream
> 	protocol	= tcp
> 	wait		= no
> 	user		= root
> 	server		= /usr/sbin/in.telnetd
> }
> service ftp
> {
> 	flags		= REUSE
> 	socket_type	= stream
> 	protocol	= tcp
> 	wait		= no
> 	user		= root
> 	server		= /usr/sbin/in.ftpd
> 	server_args	= ftpd -l
> 	disable		= no
> }
> 
> includedir /etc/xinetd.d
> 
> =====
> Edson Manners
> Academic Computing & Networking Services
> Florida State University

Hope that helps.

Cheers,
-- 
Bob McClure, Jr.            | Aren't you glad you're not getting
Bobcat Open Systems, Inc.   | all the government you pay for now?
robertmcclure earthlink net |





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]