为什么SSH在GitHub克隆项目时不断询问密码?
因此,我使用鱼壳在Ubuntu终端(WSL2)上设置了SSH键。 我安装了 fish_ssh_agent ,而且我没有每次在我的远程项目中推动一些变化, ,我只这样做一次。因此,启用了SSH代理,但是当我试图克隆PC上的任何项目时,SSH每次都问我密码。 这是正常的还是需要其他设置的,就像我使用Git Push一样,一次又一次地进行克隆项目输入它?
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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我通过在Ubuntu终端中的配置文件中输入此命令来解决我的问题,在那里我也使用鱼壳和git bash:
for Fish:
for git bash:for git bash:
I solved my problem by entering this commands in config files in Ubuntu terminal,where I am using fish shell and in Git Bash too:
For fish:
for Git bash: