If I'm using Tower and I get a "Permission denied (publickey)" error, how do I fix it?


113
views
0
9 months ago by

Full error I saw whilst using Tower 2.0 was:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

1 Answer


0
9 months ago by

1) Go to ~/.ssh

2) create a file called 'config'

3) in it place this text (including leading spaces):

Host *

  UseKeychain yes

  AddKeysToAgent yes

(Courtesy of http://mjtsai.com/blog/2016/12/19/macos-10-12-2-ssh-starts-asking-for-id_rsa-passphrase/)

Please login to add an answer/comment or follow this question.

Similar posts:
Search »