Hi Chris,

If you run ssh from /etc/inetd.conf the response time will be slower so
you need to shorten the server keys. Put this line in your /etc/inetd.conf
file:

/usr/local/sbin/sshd -i -b 512

This will shorten the server key, but be aware this also makes ssh less
secure. Generally ssh is put into /etc/inetd.conf because TCP wrappers
are compiled into ssh, but ssh doesn't have to be run from inetd. It can
also be run from your /etc/rc files with no security hit.

Carl

On 09-Nov-99 Christopher Dingle wrote:
> 
> Hi,
> 
> I think that the solution to my problem may be to run ssh from inetd.
> 
> I added the following to /etc/inetd.conf:
> ssh    stream  tcp     nowait  root    /usr/etc/tcpd  
> /usr/local/sbin/sshd -i
> 
> and I added a line to /etc/services for ssh on port 22:
> ssh            22/tcp          secure
> 
> However, when I attempt connections I get:
> 
> "Connection lost on output." or some such.
> 
> Am I forgetting something and/or doing something silly? I have a
> feeling that the problem 
> may have to do with the /usr/etc/tcpd part of the line. Any ideas?
> 
> Thanks,
> Chris
> 
> -----------------------------------------------
> Christopher Dingle *  [EMAIL PROTECTED]
> Systems Administrator - High Energy Astrophysics Division
> Harvard-Smithsonian Center for Astrophysics
> 60 Garden St. , Cambridge MA 02138
> -----------------------------------------------

------------------------------------------------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 09-Nov-99                             Phone: 315-453-2912 Ex. 5336
Time: 16:45:30                                Fax: 315-453-3052

                                      Software Engineering Group
This message was sent by XFMail       AppliedTheory Corp.
------------------------------------------------------------------------

Reply via email to