Opening folder via SSH from VSCode Web
from kokesh@lemmy.world to programming@programming.dev on 11 Sep 15:21
https://lemmy.world/post/35768609

I’ve installed VSCode Web via docker on my local server at home and would like to open my production server through the editor. How do I do that? Is it even possible?

#programming

threaded - newest

jacksilver@lemmy.world on 11 Sep 17:52 next collapse

You can us ssh to open up a vscode instance that is pointed at/running on another machine. But I don’t know if that works with the Web version.

code.visualstudio.com/docs/remote/ssh

There is also a tunnels extension: marketplace.visualstudio.com/items?itemName=ms-vs…

cr1cket@sopuli.xyz on 11 Sep 19:05 next collapse

Oh wow, people like that really do exist.

mark@programming.dev on 11 Sep 19:46 collapse

Yeah very insecure

calcopiritus@lemmy.world on 12 Sep 02:05 next collapse

  1. Why vs code web and not desktop vscode?
  2. At least on the desktop version, there’s a “><” (with the “>” being higher) looking icon in the lower left corner. Click that to open remote sessions.

I don’t know if vs code web can do remote sessions. So the button might not be there

kokesh@lemmy.world on 12 Sep 05:56 collapse

  1. I want to run it via Android Desktop mode. I obviously run normal VS Code on my desktop
biotin7@sopuli.xyz on 13 Sep 12:24 next collapse

Do we not have a fully-fledged OpenSource alternative to VScode yet ? (Not including VScodium)

kokesh@lemmy.world on 13 Sep 13:20 next collapse

On Android?

biotin7@sopuli.xyz on 13 Sep 14:48 collapse

Cross-platform

FizzyOrange@programming.dev on 14 Sep 21:33 collapse

No. Closest is probably Zed but it’s still way way off from being a serious VSCode competitor. For example it has no settings GUI at all; just a JSON file. It can’t edit large files. Font rendering is still hit and miss.

Ask again in 5 years…

napkin2020@sh.itjust.works on 13 Sep 13:32 next collapse

That is a terrible idea. Why do you even need to use VSCode on a production server? Use SSH with Termux.

FizzyOrange@programming.dev on 14 Sep 21:30 next collapse

How “production” are we talking? Pretty bad idea if it’s an important work server. “Sorry boss, nobody could connect today because VSCode’s mojam.service hit one of its many many 100% CPU bugs”.

I think in theory there’s no reason it isn’t technically possible, but I doubt it’s set up to allow it because that’s a pretty odd thing to want to do.

Edit: oh you want to access it via Android. That makes vaguely more sense.

kokesh@lemmy.world on 15 Sep 15:47 collapse

Managed to install Termux-Ububtu-Vscode for Arm64. But railed at getting the output via vnc.