vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Remote Server extension - Allow user to connect to custom "code-server serve-local" URL

Open paulquack opened this issue 3 years ago • 0 comments

I am running code-server in server-local mode with my own custom SSL reverse proxy with cookie based authentication mechanism. I can currently access the code-server in a browser via a custom https url (i.e. not vscode.dev). I would like to use the VSCode app (on Mac) Remote Server extension to connect to the code-server instance. I think this is currently only possible via the built-in tunnelling mechanism/github authentication.

paulquack avatar Jul 30 '22 02:07 paulquack

This should be available to you now if you install the ms-vscode.remote-server extension on Desktop

tanhakabir avatar Aug 18 '22 17:08 tanhakabir

@tanhakabir I couldn't find this option. it still only allows me to connect to tunneled connections and not serve-local instances. where can I find this option?

OneCyrus avatar Aug 19 '22 11:08 OneCyrus

Oh I'm sorry I misread. No sorry we can't provide options to connect to serve-local instances. But serve local hosts the UI of VS Code on a port of your remote machine so if you can access that port externally then you can access that remote machine through serve-local. More details here: https://code.visualstudio.com/docs/remote/vscode-server#_can-i-host-vs-code-the-vs-code-server-myself

tanhakabir avatar Aug 19 '22 18:08 tanhakabir

you should reopen the issue then and look at it as a feature request. technically it shouldn't be much of a problem to solve this.

OneCyrus avatar Aug 19 '22 18:08 OneCyrus

This request isn't in the scope of serve-local since it was an advanced option for users who want to support their own remoting scenarios entirely.

tanhakabir avatar Aug 19 '22 18:08 tanhakabir