GitHub Windows Could not open a connection to your authentication agent.

折腾了好久,最后在git bash 上输入 git gui启动gui

打开Git GUI,帮助->Show SSH key,点击generate key

生成后在加入,成功。

之前就是:

有人说要这样使用

ssh-agent

ssh-add ~/.ssh/id_key

我的无效

新生成的key不能加入 ssh 就会导致 连接不上 github

ssh -T [email protected] 会提示:Permission denied (publickey).

时间: 2024-08-07 04:31:46

GitHub Windows Could not open a connection to your authentication agent.的相关文章

(诊断)为GitHub添加SSH key时出现“Could not open a connection to your authentication agent”错误的应对方案(转)

在为windows 环境下的github账户添加SSH key时,需要在Git Bash执行如下命令: 第一步:检查已有的SSH keys $ ls -al ~/.ssh 第二步:生成新的SSH key $ ssh-keygen -t rsa -C "[email protected]" # Creates a new ssh key, using the provided email as a label # Generating public/private rsa key pai

解决git客户端MINGW32下的“Could not open a connection to your authentication agent.”

使用git, 下载客户端后想进行和github 进行ssh 互通 出现以下情况: [email protected] MINGW32 ~/.ssh$ ssh-add ~/.ssh/id_rsaCould not open a connection to your authentication agent. 解决办法: [解决方法]需要ssh-agent启动bash,或者说把bash挂到ssh-agent下面. [具体方法] [email protected] $ ssh-agent bash -

使用命令:ssh-add 时,出现 “Could not open a connection to your authentication agent.”

为 GitHub 账号设置 SSH Key时, 使用命令:ssh-add,出现"Could not open a connection to your authentication agent",解决办法: 先运行命令: ssh-agent bash 再运行: ssh-add

git ssh-add 报错 ssh-add Could not open a connection to your authentication agent

$ ssh-add ~/.ssh/id_rsa.pub Could not open a connection to your authentication agent. 启动ssh-agent服务 eval `ssh-agent -s` 再运行 $ ssh-add Identity added: /c/Users/name/.ssh/id_rsa (/c/Users/name/.ssh/id_rsa) 参考链接:http://stackoverflow.com/questions/178465

执行ssh-add时出现Could not open a connection to your authentication agent

若执行ssh-add /path/to/xxx.pem是出现这个错误:Could not open a connection to your authentication agent,则先执行如下命令即可: ssh-agent bash 更多关于ssh-agent的细节,可以用 man ssh-agent 来查看

Could not open a connection to your authentication agent

执行ssh-add ~/.ssh/rsa  就会遇到上述错误了 解决方案: 先执行  eval `ssh-agent`  (是-键上的那个`) 再执行 ssh-add ~/.ssh/rsa成功 ssh-add -l 就有新加的rsa了 然后就可以clip ~/.ssh/id_rsa.pub了,然后paste到github上 reference: http://blog.chinaunix.net/uid-22355887-id-3342499.html

GitHub windows客户端拉代码和提交代码

1,拉别人的代码, 比如https://github.com/greenrobot/EventBus 这个库,先用浏览器访问,然后git账号登陆,点击fock到自己的库里 点击Fork 然后打开GitHub windows端程序,点击+号: 红箭头会有个对勾Clone 按钮,点击这个按钮,选择存到本地硬盘即可 2,自己也可以把自己的代码提交到git上面,以防丢失嘛 点击+号,create一个库,指定路径,然后点击Public即可

GitHub Windows客户端部署

下载网址:https://windows.github.com 点击下载按钮即可下载一个小程序,这个小程序会去服务器端下载完整的Windows版客户端,然后自动安装. 如果安装出错的话,那就打开IE浏览器选项页面,切换到[安全]选项卡,选择[受信任的站点],再点击[站点] 将https://github-windows.s3.amazonaws.com加入进去,并选中下面的单选框 使用IE浏览器打开https://github-windows.s3.amazonaws.com/GitHub.ap

GitHub Windows Client 设置HTTP 代理

1. 安装Windows客户端https://github.com/xxxx2. Create Git Repo3. 建议设置 git bash 为 terminal 4. git config --listgit config –-global http.proxy http://127.0.0.1:8087设置代理服务器5. 遇过遇到 "无法定位程序输入点curl_multi_timeout" libcurl 错误,更新libcurl到最新版本http://curl.haxx.se