[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] monitoring ssh
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] monitoring ssh
- From: "Larry Barber" <lebarber (at) gmail.com>
- Date: Thu, 23 Aug 2007 13:17:31 -0500
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rGVeLr1kdwCuludDiQO8Z3c0n5ZFGcWcp5TaPhPCljsY/TtLZUMvZwXT930G7vDH1FAKyKm56D0SH/U0zvB6Ba3rvV+D2f2SAK5lYOcDc891hZoAOT6nsQKARXjRA35xIUu+woHa4vnQkijR5C4JA1oHNTvohicYBhE7hz9bDn8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=OX6+9olWMxHlLu7PqQk5ttsKYzMPe8cS5nhGTLB/L/9d/RPn6wITQQe/k1T97m8RUa/CzjCa29VmXBTztDpivsz+zacNQMMBQIGZ+tLZN7IrnEZig3sxwtXiVw1F396So/wth9u1B6PZixHtuOHZl6PVQ5H3IQKNOxHZ9EjY7Vg=
- References: <c8c8f8540708231112h57577906s37852671c0115f4c (at) mail.gmail.com>
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.
>