Created
July 18, 2014 02:23
-
-
Save samloh84/7ee77b730e2f7e70b166 to your computer and use it in GitHub Desktop.
Pageant batch file to load all keys
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
set expanded_list= | |
for /f "tokens=*" %%F in ('dir /b /a:-d "%USERPROFILE%\.ssh\*.ppk"') do call set expanded_list=%%expanded_list%% "%%F" | |
start /B /I "Pageant" "C:\Program Files (x86)\PuTTY\pageant.exe" %expanded_list% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment