Tuesday, February 23, 2016

Open multiple putty session on your windows machine.

1. open your text editor (notepad) and add the following lines.
Note:
a. specify your putty location
b. specify your user and host


@echo off
start /d "C:\Program Files (x86)\PuTTY\" /separate putty.exe sam@192.168.10.45
start /d "C:\Program Files (x86)\PuTTY\" /separate putty.exe jay@192.168.10.46 
exit
2. Save your file with .bat extention ( for eg, dev_servers.bat) on your windows PC.

3. Double click the file and you will see multiple session opened.

4. If you don't want to type your password on each session, just specify on the config file.

@echo off

start /d "Putty_Location_path" /separate "the_application.exe" username@site -pw your_password
start /d "Putty_Location_path" /separate "the_application.exe" username@site -pw your_password

exit

 

No comments:

Post a Comment