Re: ssh loading at startup
> The usual way to run sshd is via inetd, though. So maybe Beavis is
> asking the wrong question, maybe ssh into his box already works without
> any additional effort. If not, look in /etc/inetd.conf for a line
> mentioning ssh, perhaps there's something wrong with it.
err, not true. and unless you have a very unusual setup you probably don't
want to run ssh from inetd.conf. because everytime it starts it has to
generate the session keys it can be quite slow to start if it has to fork
from inetd.
see the man page for details:
-i Specifies that sshd is being run from inetd. Sshd
is normally not run from inetd because it needs to
generate the server key before it can respond to
the client, and this may take tens of seconds.
Clients would have to wait too long if the key was
regenerated every time. However, with small key
sizes (e.g. 512) using sshd from inetd may be fea
sible.
adam.
Reply to: