Created
January 14, 2019 11:16
-
-
Save JackNUMBER/2d267c69a443317982c5ff7d7cd74541 to your computer and use it in GitHub Desktop.
Load ssh keys on cmder startup
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
:: First, you have to put ssh keys in right folder. To find it follow this path in Explorer: %USERNAME%/.ssh | |
:: Next, it depend if you have cmder or cmder_mini. To find cmder folder installation: open cmder and type `echo %CMDER_ROOT%` | |
:: Go in cmder folder and edit config/user-startup.cmd file | |
:: For cmder add this line: | |
@call "%CMDER_ROOT%\vendor\git-for-windows\cmd\start-ssh-agent.cmd" | |
:: For cmder_mini add this line: | |
@call "%GIT_INSTALL_ROOT%\cmd\start-ssh-agent.cmd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment