forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Auto launching ssh agent when git starts
Jan Schulz edited this page Jan 11, 2016
·
8 revisions
If you want your passphrase to be 'remembered' for a session (or configurable timeout period) you will need to setup an ssh-agent process to handle this key.
Recent versions of git for windows 2.x come with an ssh agent startup script and the installer also checks if an ssh agent is currently running and asks you to kill this process.
Run the ssh agent:
start-ssh-agent.cmd
This should work in both a cmd
and bash
and can be included in ~/.profile
or ~/.bashrc
.
The Github instructions are still valid but not needed anymore.
This wiki page has been retired. All it did was to point to Git for Windows' governance model.