Troubleshooting VSCode Remote Extension
14-02-2023
Remote Extension Issues via SSH
The corporate servers can be locked down so we need to make the following changes:
- enable
/tmpexecution:
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