git push Connection reset by 52.74.223.119 port 22

问题描述:
windows环境下,在git bash中执行命令 git push origin master:向远程git仓库ssh地址推送的时候,提示错误Connection reset by 52.74.223.119 port 22
解决方法:
window防火墙设置22端口
1.windows防火墙->高级设置
git push Connection reset by 52.74.223.119 port 22
2.入栈规则->新建规则
git push Connection reset by 52.74.223.119 port 22
3.输入端口号->下一步
git push Connection reset by 52.74.223.119 port 22
4.下一步
git push Connection reset by 52.74.223.119 port 22
5.下一步
git push Connection reset by 52.74.223.119 port 226.输入名称和描述,点击完成
git push Connection reset by 52.74.223.119 port 22