Re: Native VS Code SSH extension to FreeBSD Host

"Farhan Khan" <[email protected]> Tue, 12 May 2026 13:52:03 -0400
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
On Tue, May 12, 2026, at 3:22 AM, Gleb Popov wrote:
> On Tue, May 12, 2026 at 3:44 AM Farhan Khan <[email protected]> wrote:
>>
>> Step 3: Download the code CLI.
>>
>> Based on the above, it will curl and/or scp over an xz file containing the right version of the  `code` executable, unzip it and run. The executable `code` is this Rust binary.: https://github.com/microsoft/vscode/tree/main/cli
>
> If the extension is a Linux ELF executable, then it might be possible
> to run it under Linuxulator. What happens if you try to directly run
> it?

You absolutely can run this in a Linux jail and I believe many do this. However, I was thinking of doing this natively. Unless the Code executable is statically linked, this will require ABI support, libc, the jail, etc. I was hoping to do this on native FreeBSD.