3

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.

Daniel Beck
  • 109,300
  • 14
  • 287
  • 334
Jaded
  • 31
  • 3

1 Answers1

2

Add the ssh private keys to your keychain.

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

More here.

executor21
  • 245
  • 1
  • 2
  • 8