neuroinformatics-unit / HowTo

NIU website on common software problems and their troubleshooting
http://howto.neuroinformatics.dev/
Creative Commons Attribution 4.0 International
9 stars 1 forks source link

Added detailed guide on how to set up SSH for the HPC cluster #41

Closed niksirbi closed 1 year ago

niksirbi commented 1 year ago

I added a detailed guide on how to SSH into the SWC's HPC cluster. I also included sections on how to configure the .ssh/config file and how to set up SSH key pair authentication. These set up steps should make future interactions with the cluster smoother and will aid remote development.

The text contains many Sphinx design elements and is not easily readable in raw markdown form. I suggest locally building the website to review the rendered result:

As reviewers I'm tagging:

niksirbi commented 1 year ago

For my own reference do we have to be on the UCL/SWC VPN to access the HPC?

I think not? I suppose the bastion node is exposed to external networks, so since we SSH through that, VPN should be unnecessary. But I should test this when home.

But you definitely need VPN to map/mount SWC filesystems on your local computer.

niksirbi commented 1 year ago

Easy to follow and worked fine on macOS while connected to the UCL VPN.

Thank you @IgorTatarnikov !!

adamltyson commented 1 year ago

I think not? I suppose the bastion node is exposed to external networks, so since we SSH through that, VPN should be unnecessary. But I should test this when home.

Yeah, this works without VPN.

niksirbi commented 1 year ago

Hey @JoeZiminski thanks a lot for the Windows insight. I've added the dropdown at the top, giving Windows users two options:

  1. Follow along with all commands with Git Bash
  2. Use cmd, file browser, and notepad (with the caveats you mentioned)

Have another quick look and approve it if you are happy.

JoeZiminski commented 1 year ago

Looks great @niksirbi love the drop-down. Two small suggestions otherwise LGTM!

niksirbi commented 1 year ago

Thanks both @JoeZiminski and @IgorTatarnikov! I'm going to merge this now.