Last active
April 24, 2020 01:15
-
-
Save chocolatkey/8be7b315affe10843e580da3359ec44f to your computer and use it in GitHub Desktop.
Windows startup script to run Putty's pageant + the Git for Windows ssh-pageant for forwarding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Starting PuTTY Pageant... | |
start "" "C:\Program Files\PuTTY\pageant.exe" %USERPROFILE%\.ssh\id.ppk | |
echo Starting Git4Win ssh-pageant... | |
"C:\Program Files\Git\git-cmd.exe" --no-needs-console --hide ""C:\Program Files\Git\cmd\start-ssh-pageant.cmd" >nul & exit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment