sabas has asked for the wisdom of the Perl Monks concerning the following question:
Can someone help me provide a sample perl script where: 1. I will ssh user@xx.xxx.xx.xx into 25 different servers (25 different IP addressess) 2. Automatically login 3. execute some command like df -h on each of the 25 servers 4. write/capture the logfile and get the %use of the HD of each server (ip address) Thanks,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: SSHing in multiple servers and execute command on each
by thanos1983 (Parson) on Jun 27, 2018 at 09:33 UTC | |
Re: SSHing in multiple servers and execute command on each
by NetWallah (Canon) on Jun 26, 2018 at 23:47 UTC | |
Re: SSHing in multiple servers and execute command on each
by Anonymous Monk on Jun 26, 2018 at 23:31 UTC | |
Re: SSHing in multiple servers and execute command on each
by soonix (Canon) on Jun 27, 2018 at 09:17 UTC | |
Re: SSHing in multiple servers and execute command on each
by mr_mischief (Monsignor) on Jun 27, 2018 at 21:37 UTC | |
Re: SSHing in multiple servers and execute command on each
by Anonymous Monk on Jun 27, 2018 at 11:54 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Back to
Seekers of Perl Wisdom