Skip to content

Update VSCode interactive node setup for current IRB cluster - #326

Closed
CarlosLopezElorduy wants to merge 2 commits into
mainfrom
325-update-vscode-interactive-node-setup
Closed

CarlosLopezElorduy wants to merge 2 commits into
mainfrom
325-update-vscode-interactive-node-setup

Conversation

@CarlosLopezElorduy

Copy link
Copy Markdown
Member

What

Cleans up the VSCode interactive node setup instructions to match the current IRB cluster.

Changes

  • Removed the manual SSH tunnel step. ProxyJump + Port 2222 in the SSH config handles routing automatically.
  • Updated login node hostname from irblogin01.irbbarcelona.pcb.ub.es to irblogin02.sc.irbbarcelona.org.
  • Simplified the helper function to only add the SSH config entry (removed tunnel-creation logic).
  • Updated the hostname example to the current .sc.irbbarcelona.org domain.
  • Renumbered steps after deletion.
  • Fixed typo: though -> through.

Closes #325

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
Copilot AI lite review requested due to automatic review settings September 1, 2026 14:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.org and updates the login node to irblogin02.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
@CarlosLopezElorduy

Copy link
Copy Markdown
Member Author

Duplicated from #324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update VSCode interactive node setup for current IRB cluster

2 participants