I'm wondering if I could get some help. I recently reinstalled my OS and I'm running into a strange issue that I've never run into before. I'm following the Github steps to add ssh agent
Basically, every time I log in I need to run
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_personal
when I reboot my computer.
When I try to run git clone X
I'm getting
Cloning into 'X'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
but after I run the above 2 commands, I can clone just fine
Note: issue is also with Gitlab. Sorry, I should have been explicit
gpg-agent
inssh-agent
mode. It stores keys forever in a file and allows to configure how often it re-asks passphrase; mine asks every 12 hours. I startgpg-agent
before XWin so it's available for all terminals and programs inside my X session. – Vicissitude