相关疑难解决方法(0)

Git Bash&Pageant不使用密钥

我已经安装了Git for Windows(配置为MinTTY和PuTTY\plink.exe)并安装了PuTTY,并且我试图让它与BitBucket存储库一起工作.我已经在Pageant和网站上加载了我的SSH密钥,但每当我尝试做任何需要拉/推的事情时:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)

当我运行建议ssh -v hg@bitbucket.org它使用id_rsa但没有我的其他键~/.ssh.试图使用ssh-add ~/.ssh/bitbucket_rsa结果:

Could not open a connection to your authentication agent.
Run Code Online (Sandbox Code Playgroud)

我已经阅读了有关配置PuTTY以允许转发的内容,但这通常是建议结束的地方,因此我只为默认会话设置此选项并将其保存在那里.

我已经开始ps检查哪些应用程序正在运行,并且ssh-agent不在其中.运行eval 'ssh-agent'启动守护程序,但它没有任何区别.

windows git ssh putty

46
推荐指数
3
解决办法
3万
查看次数

标签 统计

git ×1

putty ×1

ssh ×1

windows ×1