消息关闭
    暂无新消息!
操作步骤是这样的 
1, git add . 
2. git commit -m 'modify' 
3. git fetch origin 


这一步报这个错 
$ git fetch origin 
ssh: connect to host github.com port 22: Connection timed out 
fatal: Could not read from remote repository. 
Please make sure you have the correct access rights and the repository exists. 

求大家帮忙

3个回答

︿ 3

两种可能:
1.公司网络禁用了SSH的22端口
2.公司机器的SSH key 没有添加

解决方案:
1.改用https协议 或 改用443端口
2.添加公钥