Update VSCode interactive node setup for current IRB cluster - #326
Closed
CarlosLopezElorduy wants to merge 2 commits into
Closed
CarlosLopezElorduy wants to merge 2 commits into
CarlosLopezElorduy wants to merge 2 commits into
Conversation
Remove obsolete manual SSH tunnel step (ProxyJump handles routing). Update login node hostname to irblogin02.sc.irbbarcelona.org. Simplify helper function to remove tunnel-creation logic. Update hostname example to current .sc.irbbarcelona.org domain. Replace misleading SBATCH directives with clarifying comment. Renumber steps after deletion. Closes #325
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the documentation for connecting VSCode (Remote - SSH) to an IRB interactive node so it matches the current IRB cluster setup and avoids obsolete steps.
Changes:
- Updates example hostnames/domains to
*.sc.irbbarcelona.organd updates the login node toirblogin02.sc.irbbarcelona.org. - Removes the manual SSH tunnel step and renumbers the remaining steps accordingly.
- Simplifies the helper function to only append an SSH config entry (no tunnel creation).
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
71
to
+72
|
|
||
| The terminal will look like it got stuck, but what is happening is that it is waiting for | ||
| the SSH tunnel to be established. | ||
| The terminal will look like it got stuck. The `-D` flag keeps sshd running in the |
Comment on lines
+72
to
+73
| The terminal will look like it got stuck. The `-D` flag keeps sshd running in the | ||
| foreground on port 2222. Leave it running and open a new terminal for the next steps. |
| # Check if SSH config for this host already exists | ||
| if grep -qE "^Host[[:space:]]+${host_alias}\$" ~/.ssh/config; then | ||
| echo "SSH configuration for host '${host_alias}' already exists. Skipping configuration update." | ||
| if grep -qE "^Host[[:space:]]+${host_alias}$" ~/.ssh/config; then |
Member
Author
|
Duplicated from #324 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Cleans up the VSCode interactive node setup instructions to match the current IRB cluster.
Changes
ProxyJump+Port 2222in the SSH config handles routing automatically.irblogin01.irbbarcelona.pcb.ub.estoirblogin02.sc.irbbarcelona.org.hostnameexample to the current.sc.irbbarcelona.orgdomain.though->through.Closes #325