vscode ssh连接ubantu显示管道不存在,VMware Virtual Ethernet Adapter for VMnet8不存在
现象:
1、首先是vscode ssh连接ubantu失败显示管道不存在
2、查看网络适配器发现没有VMware Virtual Ethernet Adapter
3、设备管理器中VMware Virtual Ethernet Adapter带感叹号
4、主机ping ubantu无法ping通,但ubantu可以上网
解决:
大概率原因是因为你有太多无用注册表,需要清理
下载CCleaner
https://www.ccleaner.com/ccleaner
做一下自定义清理
做一下注册表清理
重启虚拟机,勾选将主机虚拟虚拟适配器连接到此网络然后应用即可
主机能ping通虚拟机即可,再次做ssh连接即可成功
参考:
https://blog.csdn.net/MerryMaking7946/article/details/120555787