Obsidian之前很久提交到Github了,今天来提交发现提示如下错误

git push -u origin main kex_exchange_identification: read: Connection reset by peer Connection reset by 20.205.243.166 port 22 fatal: Could not read from remote repository.

根据V站的这个帖子 https://www.v2ex.com/t/841032#r_11483314 ,在 windows/username/.ssh 目录下新增 config 文件后解决,文件内容如下:

Host [github.com](http://github.com/)  
Hostname [ssh.github.com](http://ssh.github.com/)  
Port 443