Skip to content

Instantly share code, notes, and snippets.

@JackNUMBER
Created January 14, 2019 11:16
Show Gist options
  • Save JackNUMBER/2d267c69a443317982c5ff7d7cd74541 to your computer and use it in GitHub Desktop.
Save JackNUMBER/2d267c69a443317982c5ff7d7cd74541 to your computer and use it in GitHub Desktop.
Load ssh keys on cmder startup
:: 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