As most people have
said you should run sshd as a standalone process. However, I also add a
backup sshd port on all my servers through inetd in case the process dies for
some reason. To do this you need to do two things:
1) Add the port
number (not 22) to your services file or any nis/nisplus
tables.
2) Add something
like this to your /etc/inetd.conf file:
sshd stream tcp
nowait root
/usr/local/sbin/sshd sshd -i
Send a HUP to inetd
(and possibly the init process to re-read /etc/services) and you're good to
go.
Kevin O'Brien
Systems/Network Administrator
E!
Online, LLC
323.692.4742
323.692.4700 fax
-----Original Message-----
From: Billigmeier, Chad [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 8:25 AM
To: '[EMAIL PROTECTED]'
Subject: replacing rlogin and rsh in inetdCould anyone lead me in the right direction for replacing rsh and rlogin services with ssh. I've read the man pages for ssh, sshd, inetd.conf and feel like I understand the concepts but am missing some key info. What would an inetd.conf file with these services replaced look like?
Chad Prey
Software Engineer
