Quote:
Originally Posted by
dday
Ahh, you are correct. I was thinking he didn't want to put in the user and password, but he does. That will work well.
Actually , I need to connect to 37 machines one by one . So i want to do something like put all username and machine name in a file and pass it to putty as I want like :
1. 12 Machines of a Daemontype 1* I have
2. 12 Machine of Daemon type 2* I have
3. 12 Machine of Daemon type 3* I have
4. 1 machine of daemon type A i have
Now every machine have a differnt name and host pass is same for all, I manaully have to loging and at the crunch time i mistype the user name and machine name .
Now If some how I can make it easier like :
1. Put every machine name and user name in a file in an order.
2. parse the file and Collect it in a list.
3. When I run the program then it prompts me like
1. For which Daemon u want to open the putty
Daemon type 11
then the putty for that open only i need to give a password.
2. If i want to open machines in a group the
Daemon type 1* I need to pass and the complete gropu of 12 machines should open.
3. I dnt know can i give the password else i will pass it to as well.
Sm time it become very difficult for me to open each and every machine one by one and someone satnding on my head to see the issue is handled or not.
may be u got what i wanted to convey
. Thanks