I believe I wrote a script that wrapped around lftp and lftp handles sftp. lftp is nice since it handles a few protocols. The script never made it to stable status, since the project I was monitoring, fell through.
~ Steve
On Thursday 23 August 2007 14:12, 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.