in reply to SSH connection to 100 routers
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
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom