You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mhirsch76 edited this page Sep 14, 2021
·
4 revisions
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