Fixd Issue: Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006)

When I tried to connect to a remote CentOS server from local VSCode, error happened after long time connecting: Check the vscode log, noticed the following error logs: It means the ssh remote side disabled tcp forwarding, so we could change the sshd config file on remote host: /etc/ssh/sshd_config, remote the # from #AllowTcpForwarding yes, save it and then … Read more