报错
command ‘_workbench.downloadResource‘ failed" when connecting to a remote host via ssh
解决
确定commit
在help中可以查看
清理
rm -rf ~/.vscode-server/bin/${commit}/*
手动下载
wget https://vscode.cdn.azure.cn/stable/${commit}/vscode-server-linux-x64.tar.gz --no-check-certificate
解压
tar zxvf vscode-server-linux-x64.tar.gz
改名
mv vscode-server-linux-x64 vscode-server-linux
创建下载完成标志
touch vscode-scp-done.flag