解决方法:打开VScode的 view→palette然后输入Kill VS Code Setver on Host,再重新连接就可以了。 避免:以后使用完远程服务器关闭资源的时候要恰当的关闭,就像用完U盘要安全推出一样,使用 File→Close Remote Connection来关闭资源。 参考文章: Remote SSH password keeps asking password (Installation already in progre...