Connect Securely to Tux from VSCode (All Platforms)

By default, VSCode uses a TCP port to talk to the VSCode server on remote hosts. This is insecure on multi-user systems like Tux, as any user can connect to your TCP port and there is no security applied on this port. Thus, you MUST configure VSCode to use Sockets to talk to Tux, as this uses socket-based communication which is more secure on multi-user systems.

Open Settings from the Gear icon at the bottom left of the VSCode Window:


Find Extensions and expand it, then find Remote - SSH and select it.


Scroll down to "Remote.SSH: Remote Server Listen On Socket" and enable this.