This is something I've been trying to figure out for the past couple of weeks. Trying to connect to my TrueNAS home server via VSCode remote just would not work some reason.
- Download the SSH remote extension in VS Code
- SSH into your TrueNAS server
- In the file
/etc/ssh/sshd_configchange the line
- Open the
Remote Explorerside panel in VS Code and connect to your TrueNAS server
- If prompted, enter your password or ssh key passphrase
- You should be able to connect without a problem!