ssh与网络杂项

pwn.college

先使用ssh-keygen进行key的建立:

1
ssh-keygen -f key -N ''

然后将公钥复制到pwn.college中 想要链接dojo时使用:

1
ssh -i key [email protected]

从一次git push失败说起

2月13日,我的git莫名其妙push不到远端了,尝试排查问题,先使用了ping,没发现任何问题,后使用ssh -T [email protected],不行,尝试重启wsl --shutdown,不行,尝试查看GitHub是否今天有服务中断,进入 https://www.githubstatus.com/ 进行查看,一切正常,尝试unset掉proxy,未解决,进行nslookup,未解决,查看代理端口发现代理端口从1085更改至1087,重新设置git config,解决

Licensed under CC BY-NC-SA 4.0
Maybe making a better tomorrow...
Built with Hugo
Theme Stack designed by Jimmy