[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] monitoring ssh



I used Python and pexpect to write a script that changed the passwords on
all my machines. A script to do what you are asking for should be quite
straight forward using those tools.

Thanks,
Larry Barber

On 8/23/07, Dan Simoes <dan.simoes (at) gmail.com> wrote:
>
> I know how to monitor the service availablity on port 22.
> I'm wondering if anyone has actually made a script that connects, logs in,
> writes a file (say with scp) and only then returns a green status.
> We got burned with an ssh keys problem so I have to deploy something like
> this.
>