LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: SSH health checking with ldirectord

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: SSH health checking with ldirectord
From: Roberto Nibali <ratz@xxxxxxxxxxxx>
Date: Mon, 05 Mar 2007 18:17:01 +0100
Well, to make sure the service is up, really. I wanna make sure that a
user can actually log in, ideally. We're using a system to chroot sftp
users into their accounts, and if I can test to that point, that would

Would it be ok if the health check connects to your sshd, logs in and executes a command?

be ideal, as certain upgrades to openssh-chroot don't work, as in, user
can connect and log in, but never gets the sftp connection, or even
can't log in, but ssh is up and you can ssh in normally to a non-sftp
only account. A health check that logs in would make sure the system is
working as intended.

Since I feel a bit guilty about not having read your initial post correctly, I'm currently looking into ways of extending ldirectord with the functionality of testing ssh connections. Would you be willing to play guinea pig if I get something compiled together?

If you deploy syslog-ng (recommended anyway) it's dead simple. I'll gladly help you configuring it if you don't get it running, at least to remedy my previous lapse :)

As long as I know it's possible, I'll find the time to figure it out.
I'll learn better that way. I'm sure you know how it is ;)

Sure, if you have enough time and patience :).

Regards,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

<Prev in Thread] Current Thread [Next in Thread>