欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

虚拟机使用ssh命令出现:packet_write_wait: Connection to **** port 22: Broken pipe 解决!

程序员文章站 2022-03-11 08:29:10
...

本来差点放弃的玄学的问题,最终在github找到了完美的解决方案!感谢~

https://github.com/vmware/open-vm-tools/issues/287

解决方案:在~/.ssh目录新建文件config

vi ~/.ssh/config

#Added lines to fix.
Host *
IPQoS lowdelay throughput
#end of new file edit

到这里如果不更改权限会出现一个问题

Bad owner or permissions on /home/xin/.ssh/config
解决办法也很简单

chmod 644 ~/.ssh/config

到这里,这个问题已经完美解决了。

相关标签: error