Skip to content

Instantly share code, notes, and snippets.

@rahulnegi20
Created February 9, 2022 17:25
Show Gist options
  • Save rahulnegi20/5f0b41f74c7406ee7413a61de9e1f346 to your computer and use it in GitHub Desktop.
Save rahulnegi20/5f0b41f74c7406ee7413a61de9e1f346 to your computer and use it in GitHub Desktop.
@echo off
@REM Enter last three number of your server's IP address only to login.
@REM Provide your system's address to the putty.exe here
set putty="C:\Program Files\PuTTY\putty.exe
@REM Provide your username@address here
set id=eclairs@192.xxx.xx.174
@REM Provide your password here
set password=passwrd@123
set /p id="Enter the suffix of IP Address you want to login: "
%putty% -pw %password% %id%
@echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment