ubuntu 腾讯轻量云服务器ssh连接不上
最近遇到腾讯轻量云服务器用vscode ssh登录失败,总是显示管道不存在。
[13:05:51.663] > ssh: connect to host 114.123.321.199 port 22: Connection timed out
> 过程试图写入的管道不存在。
> ]0;C:\Windows\System32\cmd.exe
[13:05:51.664] Got some output, clearing connection timeout
[13:05:52.910] "install" terminal command done
去腾讯云控制台 ,VNC登录输入> ifconfig 发现没有 eth0 ,看来网卡挂了
sudo
输入
sudo ifconfig eth0 up
sudo dhclient eth0
两个命令完成
我的网卡挂掉,是因为vscode 默认加载文件数量是5000,直接把轻量云服务器 cpu 内存 io 带宽飙升到100%,vscode搞崩了服务器。
欢迎点赞评论