Integrate SSH Agent or PuTTY Agent - cmderdev/cmder GitHub Wiki
Integrate SSH-Agent or PuTTY Agent
You can use your personal SSH keys in Cmder adding them to SSH-Agent or PuTTY Agent. You might also be interested in integrating Cygwin in Cmder rather than apply this configuration.
Configure SSH-Agent
To enable SSH-Agent edit config/user_profile.cmd
adding these lines:
# Loads SSH-Agent
call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd"
# Remove the following remark and add your SSH private key path
# ssh-add C:\Users\John\Documents\Keys\this-is-my-key
Configure PuTTY Agent
Please note that this configuration takes for granted that PuTTY Agent is executed prior opening Cmder (e.g. at Session Logon) and that it already has the desired keys loaded. To enable PuTTY Agent edit config/user-profile.cmd
adding these lines:
:: Setting up SSH to PuTTY Pageant
set SSH_AUTH_SOCK=%USERPROFILE%\ssh-pageant.socket
ssh-pageant -r -a %SSH_AUTH_SOCK% > NUL