git clone 报错 sign_and_send_pubkey: signing failed: agent refused operation Permission denied (publickey).

这个是我遇到的问题,一开始我以为是我的ssh公钥失效了,为了验证这一想法,我反复的将公钥创建 了N次,却依旧无法解决问题。于是,我就开始怀疑自己是否某些关键性的配置配置错误,或者粗心导致的,反复检查后发现自己没有问题。
ok,下面是解决的办法:

在你的ternimal下执行该命令

ssh-agent -s

然后再执行下面的命令

ssh-add

参考:https://blog.csdn.net/StudyLww/article/details/90750158

原文地址:https://www.cnblogs.com/zndxall/p/12397735.html

时间: 2024-08-30 03:28:08

git clone 报错 sign_and_send_pubkey: signing failed: agent refused operation Permission denied (publickey).的相关文章

git添加遇到问题 sign_and_send_pubkey: signing failed: agent refused operation Permission denied (publickey).

sign_and_send_pubkey: signing failed: agent refused operation Permission denied (publickey). 参考 https://help.github.com/cn/github/authenticating-to-github/error-permission-denied-publickey https://segmentfault.com/a/1190000008733238 https://www.cnblo

ssh出错 sign_and_send_pubkey: signing failed: agent refused operation

在服务器添加完公钥之后,ssh服务器然后报了这个错误 sign_and_send_pubkey: signing failed: agent refused operation 然后执行了以下命令才好.. eval "$(ssh-agent -s)" ssh-add

git clone报错error: RPC failed; curl 18 transfer closed with outstanding read data remaining

具体错误信息如下图: error: RPC failed; curl 18 transfer closed with outstanding read data remaining    fatal: The remote end hung up unexpectedly    fatal: early EOF    fatal: index-pack failed 这个错误产生的原因是时间太久,资源太大. 基于此,第一种考量即扩大缓存区.即在命令行输入:         git config 

git clone 报错:fatal: HTTP request failed

git clone https://github.com/xxxx/lilxxy.git Initialized empty Git repository in /tmp/clone123/lxyily/.git/ error: while accessing https://github.com/xxxx/lxyily.git/info/refs fatal: HTTP request failed 这个报错的原因可以能是:1.服务器时间问题2.git 版本问题3.curl版本问题对于3,因为

git clone 报错:fatal: index-pack failed 解决办法

[email protected] MINGW64 /d/Users/xxx/venv/program (master) $ git clone https://github.com/XXX/program. git Cloning into 'program'... remote: Enumerating objects: 1417, done. remote: Counting objects: 100% (1417/1417), done. remote: Compressing obje

在git clone报错

在阿里云新买了一台服务器,用的原正常运行的系统做的镜像文件,但在拉代码的时候提示如下报错:[[email protected] ]# git clone [email protected]:java/psd.gitCloning into 'psd'...ssh_exchange_identification: read: Connection reset by peerfatal: Could not read from remote repository. Please make sure

解决git clone报错SSL certificate problem

Git新手一枚,今天进行git clone操作时发生如下问题:提示无效的链接 error: SSL certificate problem: Invalid certificate chain while accessing https://githib.com/...XXXX.git fatal: HTTP request failed 解决方法也很简单,一条命令就搞定了: git config --global http.sslVerify false  

kylin cube测试时,报错:org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x

异常: org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(DefaultAuthoriza

ubuntu下git clone 出现Permission denied (publickey).

今天在ubuntu上使用git 克隆 github上面的库,一直权限拒绝Permission denied (publickey). 公钥绑了好几次,都不行: 最后怀疑是git配置公钥地址有问题:打开 /etc/ssh/ssh_config: 修改配置:IdentityFile -/.ssh/id_rsa    ->  IdentityFile /home/llh/.ssh/id_rsa 成功!!! 怀疑原因:可能因为ubuntu使用sudo 权限时,用户发生变化使得-/.ssh/id_rsa