Connecting Server by batch file using Putty (Window to Linux)

Connecting Server by batch file using Putty (Window to Linux)

Create a batch file with following content

myserver.bat

@echo off
putty -ssh -pw "password" user@IP -P port

where value need to put for following parameter

1) password :- Password for User 
2) user          :- User Name by which you want to connect IP address
3) port          :- Open Port number for that IP address

To connect the server, you can double click on batch file


Note:- Putty application should be there where you have put the batch file 

1 comment:

  1. It’s a awfully well endowed advantageable to everyone...Thanks for providing such kinds of valuable knowledge. Presently am being a daily reader of your blogs. Thanks most for wonderful assortment, keep writing.

    Fully dedicated hosting

    ReplyDelete