Failed to set up dynamic port forwarding connection over SSH to the VS Code Server.
ERROR: TCP port forwarding appears to be disabled on the remote host. Ensure that the sshd_config has AllowTcpForwarding yes
. Contact your system administrator if needed.
If you run into this issue using a TurnKey Linux template, you need to edit this file:
/etc/ssh/sshd_config.d/turnkey.conf
with
AllowTcpForwarding yes
This file overwrites the /etc/ssh/sshd_config
file.
I spent too long trying to figure this out, so I hope this helps!