How to make eclipse remember ssh key passphrase?

eclipse, egit, git, github, passphrase

Solution

Even if `ssh-add -l` lists your passphrase-protected key, EGit may not honour it and still ask for passphrase.

To integrate with OS keyring on Ubuntu or Mac OS X put

export GIT_SSH=/usr/bin/ssh

to your `~/.bash_aliases` or whenever applicable for your OS.

Problem

I'm using Egit with Eclipse to use git and access github. Everything is working fine but one thing that I wish to omit to type `id_rsa` key passphrase everytime I push my commit to github. I'm asked to enter passphrase each time I restart Eclipse and try to push. How can I make eclipse remember passphrase so that I don't have to type manually? Thanks

Original source