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.<br><br>Thanks,<br>Larry Barber<br><br><div>
<span class="gmail_quote">On 8/23/07, <b class="gmail_sendername">Dan Simoes</b> <<a href="mailto:dan.simoes@gmail.com">dan.simoes@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I know how to monitor the service availablity on port 22.<br>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.<br>We got burned with an ssh keys problem so I have to deploy something like this.
<br>
</blockquote></div><br>