Difference between revisions of "Jupyter via VSCode remote-ssh with singularity on ifarm"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
# Add the following to your settings (if you have other settings already, you may need to add a comma to the line before this one!): | # Add the following to your settings (if you have other settings already, you may need to add a comma to the line before this one!): | ||
"remote.SSH.enableRemoteCommand": true | "remote.SSH.enableRemoteCommand": true | ||
+ | |||
+ | |||
+ | # https://github.com/microsoft/vscode-remote-release/issues/3066#issuecomment-1019500216 | ||
+ | # | ||
+ | Host epsci-ubuntu-22.04~ifarm | ||
+ | HostName ifarm.jlab.org | ||
+ | ProxyJump scilogin.jlab.org | ||
+ | RemoteCommand singularity shell /cvmfs/oasis.opensciencegrid.org/jlab/epsci/singularity/images/epsci-ubuntu-22.04.img | ||
+ | RequestTTY yes |
Revision as of 12:44, 17 June 2023
Here are instructions for configuring your local VSCode to connect to
In VSCode
- Open the command palette using Cmd+shift+P or from the gear menu in the bottom left of the window
- Type "settings.json" and then select Preferences: Open User Settings (JSON)
- Add the following to your settings (if you have other settings already, you may need to add a comma to the line before this one!):
"remote.SSH.enableRemoteCommand": true
# https://github.com/microsoft/vscode-remote-release/issues/3066#issuecomment-1019500216 # Host epsci-ubuntu-22.04~ifarm HostName ifarm.jlab.org ProxyJump scilogin.jlab.org RemoteCommand singularity shell /cvmfs/oasis.opensciencegrid.org/jlab/epsci/singularity/images/epsci-ubuntu-22.04.img RequestTTY yes