SSH key are not persistent, I have to add at every reboot

Michele Menciassi April 1, 2021

I follow the guide that explain how make the keys persistent, but I have to add they at every reboot.

I have a MacBook Pro with Catalina OS.

After reboot if I try to clone one of my private repository I get an error message.

 

But if I run the following commands:

eval 'ssh-agent'

cd ~/.ssh

ssh-add -K myfirstkey

ssh-add -K mysecondkey

 

I can clone a private repository without error.

 

Checking my ~/.ssh/config file and I see these options

 

Host *

  UseKeychain yes

  AddKeysToAgent yes

 

Any help is apreciated

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events