Skip to content

Instantly share code, notes, and snippets.

@rahulnegi20
Last active February 9, 2022 16:37
Show Gist options
  • Save rahulnegi20/60a59609c39808f827477e4fb854aae1 to your computer and use it in GitHub Desktop.
Save rahulnegi20/60a59609c39808f827477e4fb854aae1 to your computer and use it in GitHub Desktop.
@echo off
@REM Use this if you have single server to login only, provide your sysyem address to puty.exe below.
@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
%putty% -pw %password% %id%
@echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment