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 <user-3428f00c5f40@xymon.invalid> 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.