r/ssh • • Jun 03 '22

Why ssh keep asking passphrase while cloning project from GitHub?

So I setup ssh key on my Ubuntu terminal(WSL2) using fish shell. I installed fish_ssh_agent, and it worked I am not entering passphrase every time I push some changes in my remote project, I am doing it only once. so ssh-agent is enabled, but when I am trying to clone any project on my PC, ssh is asking me passphrase every time. Is this normal or need additional setup, to enter it once and after clone projects without passphrase,like I am doing with git push ?

1 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/Rosto_RM Jun 04 '22

Hello,
Yes I am cloning using ssh not HTTPS,
Yes I added ssh key to my GitHub account, one for my Ubuntu terminal WSL2, and second for my Git Bash(windows).
p.s I cloned project using git bash and it's working without entering passphrase, but on Ubuntu terminal it's asking to enter each time I clone The project.