闫树杰

海阔天空 鸟语花香

study together


Download the theme

今天突然提示我输入ssh密码
结果输入哪个密码也不对
就尝试了重新配置秘钥
结果还是不行
提示中显示的还是旧的秘钥
后来尝试ssh -T -p 443 git@ssh.github.com
结果也不行
The authenticity of host '[ssh.github.com]:443 ([20.205.243.160]:443)' can't be established.
提示Are you sure you want to continue connecting (yes/no)?
选择yes 原来是少了一个known_hosts文件,本来密钥文件应该是三个,现在是两个,便报了这样的错误,此时选择yes回车之后,便可,同时生成了缺少了的known_hosts文件:

ssh -T -p 443 git@ssh.github.com
终于成功了
再git push就行了,如果不行可以重新配置秘钥

最近的文章

#include <stdio.h> int numConvert(int,int,int) ; int main(){intnumber , m , n ;scanf("%d%d%d",&number,&n,&m);printf("%d\n",numConvert(number,n,m));return 0 ;}int numConvert(int a,int b,int c){int x=0,i=1,y=1;while(a){x+=a%10*i;a/...…

继续阅读
更早的文章

36C4F6772C9172182012C79A34268342…

继续阅读