Re: [msysGit] Re: ANN: Git for Windows 1.7.0.2 preview 20100309
- From
Pat Thoyts <patthoyts@googlemail.com>
- Date
- Mar 23, 2010, 12:03 UTC
- Message-ID
- <a5b261831003230503k73f62a88lc5a9b31da3e9d893@mail.gmail.com>
- In-Reply-To
- <46dff0321003221854t2d95d18dx1a6cdf1174ea2efd@mail.gmail.com>
On 23 March 2010 01:54, Ping Yin <pkufranky@gmail.com> wrote:
> With putty and pageant, the key with passphrase can be used. > Is there any way to use key with passphrase when using the msysgit ssh?
Use ssh-agent.
After you start the msys shell enter:
eval $(ssh-agent)
Then you can use 'ssh-add' to add a key to the agent. If it requires a password then it will prompt you at that point. Now any further ssh activity in the current session can acquire the pre-authenticated key from the agent.