Visual Studio Code
VS Code
MS VS code is a development tool to use various languaged program on local and remote server by utilizing an open source code-server[1] as backend for Linux OS.
Window side VS code uses SSH protocol to connect server side code-server so if you can ssh to the remote server on windows command prompt or powershell, that means the SSH path from window to server would no issue and ready to use VSCode's remote SSH.
VS Code connects to remote Linux server
Install VS Code on your window
Add SSH remote server info
Connect to the SSH server
VSCode connect to HM DLS Framework
Install Jupyter notebook support interactive addon on your window
Manage Jupyter Kernels in VS Code with this guide @ https://code.visualstudio.com/docs/datascience/jupyter-kernel-management
HMSSH Docker Image
HPCMATE provides VSCode optimized remote HMSSH Docker image to manage host resources per user on DLS framework or UCM based micro datacenter.
With HMSSH container logined user is able to select DLS provided Jupyter kernel, conda environments as well as exist jupyterhub server for the user
Please find more detailed guide @ Manual:HMSSH which describes how to use HMSSH container to limit host resources per user
VSCode Connection issue
There are many SSH connection issues on internet between window and Linux server on VSCode. most common topic is Websocket disconnection with 1006 error. from our inlab experience, the most potential reason would be in which websocket's network routing path between Window side and Server side since the socket disconnection issue is more common when we try SSH over public VPN service environment or unstable version of Remote SSH extension.
At the time of writing this document, with v0.101.2023041015 of Remote SSH extension, our team does not find any issue from window to DLS server or HM Micro data center without public VPN service such as ExpressVPN[2].
Reference
- ↑ https://github.com/coder/code-server
- ↑ https://www.google.com/search?q=vscode+socket+disconnect+1006&client=firefox-b-d&ei=NORQZP6OK8nG-QbEwKvIBA&ved=0ahUKEwj--JTxtNb-AhVJY94KHUTgCkkQ4dUDCA4&uact=5&oq=vscode+socket+disconnect+1006&gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIFCCEQoAEyBQghEKABMgUIIRCgAToKCAAQRxDWBBCwAzoICAAQgAQQsQM6BwgAEIAEEAo6CgguEIAEENQCEAo6CwgAEIAEELEDEIMBOggILhCABBCxAzoHCAAQigUQQzoFCAAQgAQ6BAgAEB46BggAEAgQHjoHCCEQoAEQCjoECCEQFUoECEEYAFDi8p0BWOO6ngFgzryeAWgIcAF4AIABiAGIAdgakgEEMS4zMJgBAKABAcgBCsABAQ&sclient=gws-wiz-serp