This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |
habrok:connecting_to_the_system:connecting_via_vsc [2024/08/22 08:03] – Mention webportal login page shortcut pedro | habrok:connecting_to_the_system:connecting_via_vsc [2024/12/05 12:47] (current) – [Connecting with VS Code via SSH to a compute node] fokke |
---|
* Press ''Ctrl+P'' or ''Command+P'' once more and enter "Connect to Host". | * Press ''Ctrl+P'' or ''Command+P'' once more and enter "Connect to Host". |
* From the drop-down menu, select "+ Add New SSH Host...". | * From the drop-down menu, select "+ Add New SSH Host...". |
* Input the ''ssh'' command to connect, but this time with the information to connect to the relevant compute node. Assuming your job is running on ''node2'', you would write: ''ssh -J pNUMBER@login1.hb.hpc.rug.nl node2''. | * Input the ''ssh'' command to connect, but this time with the information to connect to the relevant compute node. Assuming your job is running on ''node2'', you would write: ''ssh -J pNUMBER@login1.hb.hpc.rug.nl pNUMBER@node2''. |
* You will then be asked what configuration file to save the information at. Any of the suggested options should work, the ''.ssh/config/'' you presumably have on your home directory is a good option. | * You will then be asked what configuration file to save the information at. Any of the suggested options should work, the ''.ssh/config/'' you presumably have on your home directory is a good option. |
* Again press ''Ctrl+P'' or ''Command+P'' and write "Connect to Host". Then, choose the appropriate connection, in this case ''node2''. | * Again press ''Ctrl+P'' or ''Command+P'' and write "Connect to Host". Then, choose the appropriate connection, in this case ''node2''. |