Troubleshooting VSCode Remote Extension
February 14, 2023
Remote Extension Issues via SSH
The corporate servers can be locked down so we need to make the following changes:
- enable
/tmp
execution:
mount -o exec,remount /tmp
- to turn it off again you can run the command:
mount -o noexec,remount /tmp
- allow port forwarding by adding the following lines to
/etc/ssh/sshd_config
:
AllowStreamLocalForwarding yes
AllowTcpForwarding yes
- restart service:
systemctl restart sshd