I've set up my SSH keys for use with Git, and I'm using Oh My Zsh shell with the ssh-agent plugin.
It works great but I have to enter the passphrase every time I login.
All the solutions I've seen are geared up for Apple, using ssh-add -K to .zshrc or editing ~/.ssh/config.
I have tried using this answer for editing ssh/config but simply can't get it to work :( This is what I have in my config file:
Host github.com
User git
Hostname github.com
IdentityFile ~/.ssh/id_rsa
And apparently keychain isn't designed to persist the passphrase:
With keychain, you only need to enter a passphrase once every time your local machine is rebooted.
Is there any way to do this for an Ubuntu-based Linux?