1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #3627 resolved

SSH still asks for passphrase

Cynthia Ward
created an issue

I'm running through the tutorial and I have configured the password and followed all the steps to getting a key and putting it into the system, and everything seemed to work, but then I'm still prompted for a password every time I get to the "git push" phase of the process. Mary asked me to capture all the cmd line for the problem I'm experiencing.

Thanks, Cyd

{{{ MING output

Cyd@CYDWEBTOP ~/repos/bb101repo-practice (master) $ ls -al total 1 drwxr-xr-x 3 Cyd Administ 0 Feb 6 17:38 . drwxr-xr-x 4 Cyd Administ 0 Feb 6 19:22 .. drwxr-xr-x 7 Cyd Administ 0 Feb 7 17:03 .git -rw-r--r-- 1 Cyd Administ 214 Feb 7 17:02 README

Cyd@CYDWEBTOP ~/repos/bb101repo-practice (master) $ git add README

Cyd@CYDWEBTOP ~/repos/bb101repo-practice (master) $ git commit -m "another change, this one's for Mary..." [master 17040c4] another change, this one's for Mary... 1 files changed, 2 insertions(+), 0 deletions(-)

Cyd@CYDWEBTOP ~/repos/bb101repo-practice (master) $ git push Enter passphrase for key '/c/Documents and Settings/Cyd/.ssh/id_rsa': Counting objects: 5, done. Delta compression using up to 2 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 316 bytes, done. Total 3 (delta 1), reused 0 (delta 0) remote: bb/acl: cydward is allowed. accepted payload. To git@bitbucket.org:cydward/bb101repo.git 90cdbac..17040c4 master -> master

Cyd@CYDWEBTOP ~/repos/bb101repo-practice (master) $ }}}

Comments (4)

  1. Atlassian Tutorials


    Thank you for sending this in . It looks like you've run into the limitation of the ssh-agent. It doesn't play well with the GitBash situation. Apparently, the config file is not working so cleanly. I'll need to do some work to update the doc in a way that still keeps the documentation easy to use. That's my problem: doesn't solve yours.

    GitHub asks users to modify their profile. The upshot is, when you start GitBash you will need to enter your passphrase once. Then, for the rest of the session, it uses the passphrase you entered at startup. You can see that solution here:


    That should help you out for the nonce. Please let me know if it doesn't. I'll work to upgrade our documentation.


  2. Log in to comment