手揣网教程:绿色安全纯净官方版,体验当今速度最快的浏览器!

处理Smartgit中始终出现Please make sure you have the correct

时间:2024/11/4作者:未知来源:手揣网教程人气:

[摘要]环境:ubuntu16.04 问题描述:使用SmartGit开始没有什么问题,但是由于好几天没有打开电脑(不知道是不是有更新或者系统bug)导致SmartGit中pull或者push都出现Pleas...
环境:ubuntu16.04
 
问题描述:使用SmartGit开始没有什么问题,但是由于好几天没有打开电脑(不知道是不是有更新或者系统bug)导致SmartGit中pull或者push都出现Please make sure you have the correct access rights......
 
如何解决:不知道具体原因,将Edit>>Preferences中Commands>>Authentication下Known credentials删除,删除后,再次pull代码出现connect to host github.com port 22: Connection timed out。发现这个在网上有解决办法。
 
方法如下:
1>>>cd ~/.ssh
2>>>gedit config(创建一个config文件)
3>>>添加信息如下:
Host github.com 
User xxxxxxxx@gmail.com
Hostname ssh.github.com 
PreferredAuthentications publickey 
IdentityFile ~/.ssh/id_rsa 
Port 443
即可,重新打开SmartGit,然后push等操作即可。

Linux是一套免费使用和自由传播的类Unix操作系统



关键词:处理Smartgit中始终出现Please make sure you have the correct




Copyright © 2012-2018 手揣网教程(http://www.shouchuai.com) .All Rights Reserved 网站地图 友情链接

免责声明:本站资源均来自互联网收集 如有侵犯到您利益的地方请及时联系管理删除,敬请见谅!

QQ:1006262270   邮箱:kfyvi376850063@126.com   手机版