N
N
Nikolai Gromov2015-08-27 16:07:35
GitHub
Nikolai Gromov, 2015-08-27 16:07:35

Why does git keep asking for a passphrase?

Using Cygwin via cmder Installed
the git package Followed the
steps from https://help.github.com/articles/generating-ssh-keys/
Every time I access github, Cygwin asks me for a passphrase:

[email protected] /cygdrive/d/projects/prj_name
$ ssh -T [email protected]
Enter passphrase for key '/home/nicothin/.ssh/id_rsa':

What can I do to stop asking? (other than using a GUI app)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolai Gromov, 2015-08-28
@nicothin

I myself decided that I would not reset the passphrase to empty, I would limit myself to the solution proposed in the article anterence.blogspot.ru/2012/01/ssh-agent-in-msysgit.html Entering
the key once at the start of the console is normal.

A
Andrey Burov, 2015-08-27
@BuriK666

ssh-keygen -p

-p Requests changing the passphrase of a private key file instead of creating a new private key. The program will prompt for the file containing the private key, for the old passphrase, and twice for the new passphrase.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question