Hello vasanth.easyrider,
I think you should be looking for Net::OpenSSH::Parallel. Alternatively you can create a foreach loop to connect to all nodes. I would not use password authentication if I was you I would use ssh key authentication (more secure).
Sample of code for Net::OpenSSH::Parallel can be found here Re: multiple machines disk space alert. Sample of code using foreach loop and Net::OpenSSH can be found here Re: Simple SSH based chat client.
Hope this helps. BR / Thanos
In reply to Re: SSH connection to 100 routers
by thanos1983
in thread SSH connection to 100 routers
by vasanth.easyrider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |