git clone 或者git pull 时发现错误
客户端报错
sign_and_send_pubkey: signing failed: agent refused operation
Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
服务器端报错
Aug 21 12:00:34 sshd[247]: Connection closed by authenticating user git 192.168.118.30 port 56016 [preauth]
Aug 21 12:00:36 sshd[249]: Authentication refused: bad ownership or modes for directory /data/git/.ssh
Aug 21 12:00:36 sshd[249]: Authentication refused: bad ownership or modes for directory /data/git/.ssh
Aug 21 12:00:36 sshd[249]: Connection closed by authenticating user git 192.168.118.30 port 56020 [preauth]
尝试解决错误,各种重启,重装,依然报上述错误. . 索性不管,回家睡大觉.
第二天到单位, 它自愈了....
 
                   
                   
                   
                   本文记录了一次在使用Git进行代码克隆或拉取操作时遇到的权限拒绝错误,详细描述了客户端和服务器端的错误信息,包括sign_and_send_pubkey失败、目录权限问题等,并分享了一个令人惊讶的自愈经历。
本文记录了一次在使用Git进行代码克隆或拉取操作时遇到的权限拒绝错误,详细描述了客户端和服务器端的错误信息,包括sign_and_send_pubkey失败、目录权限问题等,并分享了一个令人惊讶的自愈经历。
           
       
           
                 
                 
                 
                 
                 
                
               
                 
                 
                 
                 
                
               
                 
                 扫一扫
扫一扫
                     
              
             
                   619
					619
					
 被折叠的  条评论
		 为什么被折叠?
被折叠的  条评论
		 为什么被折叠?
		 
		  到【灌水乐园】发言
到【灌水乐园】发言                                
		 
		 
    
   
    
   
             
            


 
            