I like net::ping. But what's the point of reinventing the wheel? There's
dozens of network monitoring suites that'll do this for you - nagios for one
should suite the purpose well enough.
Also, nmap should have a module to allow you to audit ssh. With any luck,
you might be able to access that fro
On Tue, 23 Nov 2010 21:59:19 +0530, Amit Saxena wrote:
> Hi all,
>
> What's the best way to monitor ssh connectivity, and not just ssh port
> availability, to a server using perl assuming following constraints ?
>
> I tried for Net::SSH but public private key is not allowed.
>
> I tried for Net
On Wed, Nov 24, 2010 at 1:19 AM, Joe Pepersack wrote:
>
>
> Why not just call the ssh client and run a command on the remote host?
> I'd set up a passwordless key to a restricted account for security, but
> I'm paranoid.
>
> open LOG, '>>', '/path/to/logfile' or die "Can't open log file\n";
>
> f
On Nov 23, 8:29 am, learn.tech...@gmail.com (Amit Saxena) wrote:
> Hi all,
>
> What's the best way to monitor ssh connectivity, and not just ssh port
> availability, to a server using perl assuming following constraints ?
>
> I tried for Net::SSH but public private key is not allowed.
>
> I tried f
On Tue, Nov 23, 2010 at 10:13 PM, Amit Saxena wrote:
>
> On Tue, Nov 23, 2010 at 10:09 PM, shawn wilson wrote:
>
> > Well, each new ssh connection should spawn a new process so you could look
> > at it from that end. More technically, you could look into netstat or lsof
> > modules.
> > On Nov 23
On Tue, Nov 23, 2010 at 10:09 PM, shawn wilson wrote:
> Well, each new ssh connection should spawn a new process so you could look
> at it from that end. More technically, you could look into netstat or lsof
> modules.
> On Nov 23, 2010 11:31 AM, "Amit Saxena" wrote:
> > Hi all,
> >
> > What's t
Well, each new ssh connection should spawn a new process so you could look
at it from that end. More technically, you could look into netstat or lsof
modules.
On Nov 23, 2010 11:31 AM, "Amit Saxena" wrote:
> Hi all,
>
> What's the best way to monitor ssh connectivity, and not just ssh port
> avail