DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Perl (http://www.daniweb.com/forums/forum112.html)
-   -   Connecting to remote server (http://www.daniweb.com/forums/thread199200.html)

Prakash_8111 Jun 23rd, 2009 4:44 am
Connecting to remote server
 
Hi All,
Can any one suggest how to connect remote more than one remote server one by one inside a loop through Net::SSH::Perl package ? , I have to connect to 9 remote server, I am able to connect the first server , execute some command there come out again log-into second remote server , while connecting to second server its asking for password , even if I am passing through a variable value as like I did in first login. I am using Net::SSH::Perl package.

Thanks in advance for ur suggestion

Best Regards
Prakash

wickedxter Jul 13th, 2009 10:16 pm
Re: Connecting to remote server
 
you can use fork


All times are GMT -4. The time now is 11:31 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC