How to make eclipse remember ssh key passphrase?

I am using Egit with Eclipse to use git and access github. Everything works fine, but one thing I want to omit is to enter a keyword keyword phrase id_rsaevery time I push my commit on github.

I ask for a passphrase every time I restart Eclipse and try to press.

Passphrase request

How can I make eclipse remember a passphrase so that I don’t have to enter it manually?

thank

+5
source share
2 answers

Even if it ssh-add -lcontains your key protected by a passphrase, EGit may not read it and still request a passphrase.

OS keyring Ubuntu Mac OS X,

export GIT_SSH=/usr/bin/ssh

~/.bash_aliases , .

+5

ssh.

ssh-add. ( .)

. ( .)

:

  • : cd $your_repository; git fetch β†’
  • ssh-add -l β†’ " ".
  • ssh-add β†’
  • ssh-add -l β†’ ( )
  • : cd $your_repository; git fetch β†’
  • eclipse. β†’ , .
0

All Articles