-
Couldn't load subscription status.
- Fork 74
Closed
Description
If in a new session I try and git pull, then I am not asked for my passphrase, the key isn't loaded and I can't log in. If I SSH first and then use git pull, it is fine, see transcript below. I have ssh-ident as a symlink from ssh in my bin directory, which the readme says: "This works for rsync and git". This is on a Mac 10.10.5, with git 2.8 from MacPorts. Let me know if you need any more information.
$ git pull
Loading keys:
/Users/matthew/.ssh/identities/work/id_rsa
ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
Password: [Ctrl-C]
$ ssh work.machine
Loading keys:
/Users/matthew/.ssh/identities/work/id_rsa
Enter passphrase for /Users/matthew/.ssh/identities/work/id_rsa:
Identity added: /Users/matthew/.ssh/identities/work/id_rsa (/Users/matthew/.ssh/identities/work/id_rsa)
[ Successfully logged in to work.machine ]
work.machine:~$ logout
Connection to work.machine closed.
$ git pull
All keys already loaded
Already up-to-date.
$ Metadata
Metadata
Assignees
Labels
No labels