I'm using ssh settings from my work machine on laptop at home for unattended git repository connection. I've copied private and public keys and use ssh-agent w/ ssh-add identity command. Is there any way to save this settings permanently? Every time after reboot i need to execute above commands again that is kinda annoying. Thanks in advance.

link|improve this question
feedback

1 Answer

Add the ssh private keys to your keychain.

ssh-add -K /path/to/private/ssh/key

More here.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.