Although possible the more common workflow is instead to run VS Code locally on the MacBook Air and use the VS Code Remote SSH extension to edit and run code located on the Linux system.
Thanks, this option seems great while traveling!
Yes. vscode can be self hosted and accessible over http and run in a Docker container. You can ssh tunnel or port forward it