# vscode的linux server安装失败导致的无法连接远程服务器
大概率是linux server相关文件下载失败导致的
解决方案:
1. 下载对应版本号的linux server
版本号可以从vscode输出那看到
参考:https://blog.csdn.net/wyg1997/article/details/101460961
下载地址:https://update.code.visualstudio.com/commit:<需替换的commit-id>/server-linux-x64/stable
之后得到vscode-server-linux-x64.tar.gz文件
2. 将压缩包拷贝到/notebooks/zw/projects/.vscode-server/bin/379476f0e13988d90fab105c5c19e7abc8b1dea8目录下
其中379476f0e13988d90fab105c5c19e7abc8b1dea8是commit id
然后打开vscode,使用远程连接,vscode会自动解压该压缩包并启动linux-server,最后完成连接(或直接解压到该文件夹下也可以直接连接)