ssh keys - How to make Git not ask me for password when accessing remote repositories? -


i've been looking @ few different posts , other forums explanation of how prevent git asking password whenever interact remote repository, understood need create ssh key.

if want make private key more secure, passphrase used encrypt it. can use ssh-agent store passphrase once terminal/console session, don't have keep entering time.

you'll need use eval `ssh-agent -s` start agent, ssh-add enter passphrase private key, , ssh-agent -k kill agent when you're done. comes timeout, ssh-add -t <timeout>, <timeout> can xh x hours, xm x minutes, , on.

ssh-agent available on msysgit , cygwin. i'm not sure availability on other platforms unix/linux/*nix systems , apple osx.

you can read more ssh-agent usage this stack overflow answer , this stack overflow answer, googling around instructions online.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -