Skip to content

Instantly share code, notes, and snippets.

@egoens
Last active March 18, 2024 19:13
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save egoens/c3aa494fc246bb4828e517407d56718d to your computer and use it in GitHub Desktop.
Save egoens/c3aa494fc246bb4828e517407d56718d to your computer and use it in GitHub Desktop.
Use this if ssh key keeps asking for password
@gauthamireddy
Copy link

Thank you!!!

@CodeLongAndProsper90
Copy link

This is great!!!

@vjeuel
Copy link

vjeuel commented Apr 1, 2020

Thanks so much!!!

@souvikhaldar
Copy link

Thanks.
But why does this happen?

@xyz8983
Copy link

xyz8983 commented Jun 2, 2020

it works! thank you!

@petar-m-petrov
Copy link

This does not work on windows.

@CodeLongAndProsper90
Copy link

CodeLongAndProsper90 commented Nov 26, 2020

This does not work on windows.

Yes, because it's made for UNIX-like systems

@neomedeiros
Copy link

I just love you. thank you so much

@kster735
Copy link

This does not work on windows.

Yes, because it's made for UNIX-like systems

In Windows 10 I am using a bash shell terminal in VScode. I just typed : " ssh-add ~/.ssh/id_rsa "

Notice: in windows we don't use the -K parameter "ssh-add -K ~/.ssh/id_rsa" which causes the problem.

Allthough if you created your ssh-key with a passphrase, you will be asked for it.

@axh529
Copy link

axh529 commented Nov 25, 2021

Thank You!

@huseyinbiyik
Copy link

Thank you!

@Rothweiler
Copy link

I got an error "Could not open a connection to your authentication agent" I had to issue "eval 'ssh-agent -s'" first.

@vaniapsk
Copy link

Thank you!

@pm-ribeiro
Copy link

finally! thank u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment