[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: Stef Coene <stef.coene (at) docum.org>
- Date: Thu, 23 Aug 2007 20:38:21 +0200
- References: <c8c8f8540708231112h57577906s37852671c0115f4c (at) mail.gmail.com>
- User-agent: KMail/1.9.7
On Thursday 23 August 2007, Dan Simoes 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.
Take a look at expect. You can simulate all kind of interactive command line
stuff. I use this to remote connect with ssh / telnet and to transfer files
with scp.
Stef