Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

deep-ssh

Rating
0 votes
Favoured:
0
Hits
96518
Files:
FileDescription
deep-ssh.txtdeep-ssh, python script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Basically, deep-ssh just constructs a bunch of ssh's that call other ssh's, until you're at your destination, at which point, a command is run.
If you've ever worked with an unrouted network, one or more discontinuities deep, then you may appreciate "deep-ssh".

Basically, deep-ssh just constructs a bunch of ssh's that call other ssh's, until you're at your destination, at which point, a command is run.

Usage is like:
deep-ssh '' host1!host2!host3 'uname -a'
This command will ssh to host1, which in turn will ssh to host2, which in turn will ssh to host3, and then on host3 the command "uname -a" is run.