Skip to content

Instantly share code, notes, and snippets.

@rahulnegi20
Last active February 10, 2022 07:41
Show Gist options
  • Save rahulnegi20/1e8f4eac41871c7710afc3b5558d77ca to your computer and use it in GitHub Desktop.
Save rahulnegi20/1e8f4eac41871c7710afc3b5558d77ca to your computer and use it in GitHub Desktop.
@echo off
@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
set /p password="Enter password: "
%putty% -pw %password% %id%
@echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment