We all are using ssh client PUTTY in day to day task and it is very irritating to login in different server again and again. Today, I come up with Putty command line by which we can make this so easy. Wanna to login, Just a click and Voila !!!
So let's start --
a. First of all make a shortcut of your putty.exe file by right click --> Send to --> Desktop
b. ,This will display like below, just rename it with your server name or address to know which server is going to connect when we click on it.
c. Here, I have used my linux server 192,168,37.129
d. Now, Right click on Putty Shortcut ---> Properties. This will display like below -
e. We have to edit the Target command --
For me :-
Server Address - 192.168.37.129
User Name - atul
Password - atul
edited command --- -ssh user@server -pw password
For my case --- -ssh atul@192.168.37.129 -pw atul
Add this command to Target value , after whatever is existed there. So Target's new value is ( in my case ) - C:\_mine\putty.exe -ssh atul@192.168.37.129 -pw atul
f. Click on Apply and OK.
g. For accessing 192.168.37.129 without entering username and password, simply click on edited shortcut.
** Caution ** : Do not edit putty in public computer as your username and password is normal text which can be misused by anyone.
No comments:
Post a Comment