Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
There is an entire POD in the script, access by:
Basically, you can use:
The above uses SSH to connect to each host by IP or hostname, 1 per line, in the file devices.txt using the username SSHUSER and password SSHPASS executing on each device the commands in, 1 per line, in the file file.txt and saving the session transcript in a file by the hostname or IP connected to. Preparing devices.txt and file.txt as well as parsing the output from the session files is left as an exercise for the reader. In reply to Re^3: Capacity Planning
by VinsWorldcom
|
|