Cameron MacDonald ([EMAIL PROTECTED]) wrote:
> RickSisler wrote:
> <snip>
> >It depends on how critical it is for you to run sshd sessions. 
> >And if you don''t think you need this then maybe remove it.
> >You could also set it to any time you want or
> >you could try adding this to the end of line of file:
> >
> >(from /etc/cron.d/sshd-monitor)
> >
> >*/5 * * * *    root    /usr/share/sshd-monitor/sshd-restarter >/dev/null 
> >2>&1
> >
> >That should stop any logging or email from cron, 
> >If this is what you want ... but not likely cause then you wouldn't
> >know it was still running ;)
> <snip>
> 
> Thanks, Rick.
> I use ssh on occasion.  I guess I wasn't aware that sshd needed to 
> be restarted. Does it shut down after a certain amount of time?  I 
> couldn't find anything in the man pages on this.
> Cameron
Hi Cameron,
You may not need this is you only frequently use ssh. No the sshd
service should, if set at boot to run, should always be running
then. This would be if it failed, errored out or had a problem
that this monitor would check to see if its running, and if not,
restart it. I honestly don't think you need it. 

If you had a need to backup a server remotely using ssh then it
would be critical to have such a monitor, for example. I'm no
sysadmin but this is my guess, there are others on this list who may
provide better examples 8)

HTH
-- 
RickS
"Now, now my good man, this is no time for making enemies." -
Voltaire (1694-1778) on his deathbed in response to a priest
asking that he renounce Satan.
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to