code-server should just work, for instance this repo let’s you run it on mybinder: [image] GitHub - betatim/vscode-binder: VS Code on Binder VS Code on Binder. Contribute to betatim/vscode-binder development by creating an account on GitHub. You can choose wh… Answer from manics on discourse.jupyter.org
🌐
Visual Studio Code
code.visualstudio.com › docs › datascience › jupyter-notebooks
Jupyter Notebooks in VS Code
November 3, 2021 - To work with Python in Jupyter Notebooks, you must activate an Anaconda environment in VS Code, or another Python environment in which you've installed the Jupyter package. To select an environment, use the Python: Select Interpreter command from the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)). Once the appropriate environment is activated, you can create and open a Jupyter Notebook, connect to a remote Jupyter server for running code cells, and export a Jupyter Notebook as a Python file.
🌐
GitHub
github.com › pc2 › jupyter-code-server
GitHub - pc2/jupyter-code-server: Running VSCode Web IDE inside the Jupyter environment · GitHub
If running code-server is listening to UNIX socket, environment variable JSP_CODE_SERVER_SOCKET may be set to socket file path. If none of these environment variables are set, jupyter-code-server starts new code-server process and proxies requests to its socket.
Starred by 9 users
Forked by 7 users
Languages   Python
🌐
GitHub
github.com › dirkcgrunwald › jupyter_codeserver_proxy-
GitHub - dirkcgrunwald/jupyter_codeserver_proxy-: jupyter proxy for the coder.com code-server version of VScode
$ make build # ... # Successfully tagged codeserver-notebook:latest # Built image size: 2.08GB $ make dev # ... # [I 07:14:39.235 LabApp] Jupyter Notebook 6.1.4 is running at: # [I 07:14:39.236 LabApp] http://d30367ff292a:8888/?token=048a06d6769cc34698365cfa427904d80b43498faaefb4e2 # [I 07:14:39.237 LabApp] or http://127.0.0.1:8888/?token=048a06d6769cc34698365cfa427904d80b43498faaefb4e2 # [I 07:14:39.238 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Starred by 28 users
Forked by 24 users
Languages   Python 38.6% | Makefile 31.9% | Dockerfile 29.5% | Python 38.6% | Makefile 31.9% | Dockerfile 29.5%
🌐
PyPI
pypi.org › project › jupyter-vscode-server
jupyter-vscode-server
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
Visual Studio Code
code.visualstudio.com › docs › datascience › notebooks-web
Jupyter Notebooks on the web
November 3, 2021 - This will download and start the VS Code Server on your remote machine and then create a tunnel to it. Use the CLI's output vscode.dev URL tied to this remote machine, such as https://vscode.dev/tunnel/<machine_name>/<folder_name> for access to this remote machine on any client. Open a notebook file and select any Jupyter kernel or Python environment to run your code.
🌐
PyPI
pypi.org › project › jupyter-code-server
jupyter-code-server · PyPI
Running VSCode Web IDE code-server inside the Jupyter environment.
      » pip install jupyter-code-server
    
Published   May 26, 2025
Version   1.2
🌐
GitHub
github.com › jupyter-server › jupyter_server › tree › main › examples › simple
jupyter_server/examples/simple at main · jupyter-server/jupyter_server
# Clone, create a conda env and install from source. git clone https://github.com/jupyter/jupyter_server && \ cd jupyter_server/examples/simple && \ conda create -y -n jupyter-server-example python=3.9 && \ conda activate jupyter-server-example && \ pip install -e .[test] OPTIONAL If you want to build the Typescript code, you need npm on your local environment.
Author   jupyter-server
Find elsewhere
🌐
Julia Programming Language
discourse.julialang.org › tooling
JupyterLab + code-server + Julia - Tooling - Julia Programming Language
June 15, 2022 - I have grown very fond of the combo JupyterLab + code-server + <programming language>. You may test it at https://demo.jupyter.b-data.ch/. → Resources are limited to 2 cores and 8 GB RAM. I am happy to receive feedba…
🌐
GitHub
github.com › coder › code-server › issues › 1242
Jupyter Notebooks inside coder vscode? · Issue #1242 · coder/code-server
January 1, 2020 - Hello, Is it possible to run jupyter notebooks inside coder, if so is there any documentation about connecting anaconda and coder? https://www.youtube.com/watch?v=FSdIoJdSnig Thanks
Author   bhope78
🌐
Visual Studio Code
code.visualstudio.com › docs › datascience › jupyter-kernel-management
Manage Jupyter Kernels in VS Code
November 3, 2021 - Find the URL for your Jupyter server, for example, http://<ip-address>:<port>/?token=<token> and paste it in the Enter the URL of the running Jupyter server option to connect to the remote server and execute code against your notebook using ...
🌐
Ouseful Info
blog.ouseful.info › 2019 › 02 › 11 › connecting-to-a-remote-jupyter-notebook-server-running-on-digital-ocean-from-microsoft-vs-code
Connecting to a Remote Jupyter Notebook Server Running on Digital Ocean from Microsoft VS Code
March 14, 2019 - You should now be able to interact with your remote IPython kernel running on a Digital Ocean server. See Working with Jupyter Notebooks in Visual Studio Code for some ideas of what to do next…
🌐
Visual Studio Code
code.visualstudio.com › docs › python › jupyter-support-py
Python Interactive window
November 3, 2021 - Once connected, code cells run on the remote server rather than the local computer. ... Run the Jupyter: Specify local or remote Jupyter server for connections command from the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)).
🌐
Stack Overflow
stackoverflow.com › questions › 75875664 › jupyter-notebook-cells-not-showing-in-code-server-running-in-a-docker
python - Jupyter Notebook cells not showing in code-server running in a docker - Stack Overflow
FROM python:3.9.13 # install some basic stuff RUN apt-get update && apt-get install -y \ openssl \ net-tools \ git \ locales \ dumb-init \ vim \ curl \ wget \ python3-pip \ && rm -rf /var/lib/apt/lists/* # install kernel RUN pip install ipykernel # install the latest code-server version RUN curl -fsSL https://code-server.dev/install.sh | sh RUN groupadd -g 999 coder && \ useradd -r -u 999 -g coder coder && \ mkdir /home/coder && \ chown coder:coder /home/coder USER 999:999 EXPOSE 3000 ENV HOME /home/coder ENV GIT_DISCOVERY_ACROSS_FILESYSTEM 1 # install VS Code extensions for the user RUN code-server --install-extension ms-python.python ENTRYPOINT ["dumb-init", "--"] CMD ["bash", "-c", "exec code-server --host 0.0.0.0 --port 3000 --auth none /home/coder"]
🌐
GitHub
github.com › jupyterhub › jupyter-server-proxy
GitHub - jupyterhub/jupyter-server-proxy: Jupyter notebook server extension to proxy web services. · GitHub
Jupyter Server Proxy lets you run arbitrary external processes (such as RStudio, Shiny Server, Syncthing, PostgreSQL, Code Server, etc) alongside your notebook server and provide authenticated web access to them using a path like /rstudio next to others like /lab. Alongside the python package that provides the main functionality, the JupyterLab extension (@jupyterhub/jupyter-server-proxy) provides buttons in the JupyterLab launcher window to get to RStudio for example.
Starred by 396 users
Forked by 154 users
Languages   Python 88.0% | TypeScript 7.8% | RobotFramework 3.1%
Top answer
1 of 2
2

this is possible and requires the following steps:

Installation of Code-server

To connect to the server using VS Code, Code-server must be installed on the DSWS for the user according to this guide. Write your own username instead of [username].

curl -fsSL https://code-server.dev/install.sh | sh
sudo systemctl start code-server@[username]
sudo systemctl enable --now code-server@[username]

Setup VS Code

Make sure your VS Code is up-to-date. Open a new window in your local VS Code and install the following Extensions:

Python
Jupyter
Remote — SSH

Connect the VS Code to the Host

Click on the >< — Symbol (“Open a Remote Window”) in the bottom left and select in the top bar “Connect Current Window to host”. Connect to the remote machine via SSH, using your username and IP address. Note messages popping up in VS Code’s UI, you have to enter the remote OS, a keyfile, or your password.

Now open a respective directory in which you want to develop. Therefore, open the Explorer, “Open Folder” and specify a directory on the remote machine. Then confirm with your password and that you are trusting the code.

Connect to the Kernel

Connect to a remote Kernel in Docker Create a new Juypter Notebook or create a new one. Then run a cell using [Shift]+[Enter] and note a message in the top bar approaches. Select “Existing Jupyter Server” and “Enter the URL of the running Jupyter Server”.

Then you have to specify the remote kernel you want to connect with. Therefore provide the URL as you would open it in a browser, containing the hostname (or IP-address), the exposed port, and the token of the Jupyter server. The token can be extracted in a VS Code Terminal (as we are already connected per SSH) or in an additional Terminal on the remote machine. Use the command jupyter server list or if it runs in docker docker exec -it [ service_name | UID] jupyter server list to extract the token.

Finally, select “Python 3” or whatever kernel you want and start computing. Of course, the same works for standard Python files.

Now you should run all Jupyter Notebooks and Python Files!

Disclaimer: Note that this instruction is from this tutorial on Connect your remote GPU-Jupyter to your local VS Code — A great Deep Learning Solution which additionally provides screenshots.

2 of 2
1

Not sure whether this is the most elegant solution, but you can do that with VSCode extension: Remote - SSH.

Once you have that installed. To connect to your server and files open Command Palette via Ctrl + Shift + P and run Remote-SSH: Connect to Host... command.

It will open new window of VSCode connected to the server, and you should see your files through Explorer on the side panel.

🌐
Medium
medium.com › @francisferreiracunha › vscode-remote-jupyter-server-setup-12992a11bba8
VSCode remote SSH Jupyter server setup | by Francisco Cunha | Medium
March 7, 2022 - It’s now time to check the connectivity with the jupyter server. Is it accessible from your local machine? That’s the question for now. Open your preferred web browser and copy the URL highlighted a few paragraphs above, however slightly changed! Replace $PORT_NUMBER_TO_SERVE_JUPYTER_NOTEBOOK by $LOCAL_PORT_NUMBER. Could you visualize your jupyter session locally? Great, it means you are a step closer to be able to edit your notebooks in VSCode and deploy them remotely. Open VS Code (with Python, Jupyter and Remote SSH extensions installed), go to the Command Palette and choose Jupyter: Specify Jupyter server for connections -> Existing and fill in the line edit shown by copying the contents of the URL obtained after applying the aforementioned changes.
🌐
Cloudera
docs.cloudera.com › machine-learning › cloud › projects › topics › ml-vs-code-with-jupyter.html
(Optional) Using VS Code with Jupyter
April 2, 2026 - This creates a Jupyter server that any new Notebooks you launch will run in. After you install the Jupyter Notebooks, you can use it inside VS Code.