Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add VS Code Tunnel recommendations #747

Merged
merged 5 commits into from
Oct 8, 2024
Merged

Conversation

hajgato
Copy link
Contributor

@hajgato hajgato commented Oct 4, 2024

No description provided.

@@ -0,0 +1,46 @@
# VS Code Tunnel

Please keep in mind, that this is not a VS Code manual,
Copy link
Member

Choose a reason for hiding this comment

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

use "VS Code" (with backticks, and consistent uppercase, see line below)

Copy link
Member

Choose a reason for hiding this comment

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

maybe rename the md file to vscodetunnel, i think the url now would be like .../vscode. if this is only about the tunnel, make it more clear


We only support VS Code tunnel access via the VS Code application (installed locally),
since web access might not work from all browser or operational system.
The only confirmed way to connect via a browser is using Windows 11 and Edge.
Copy link
Member

Choose a reason for hiding this comment

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

This neds to be clarified: this is the to connect to the tunnel URL via a browser


## Prerequisites

We do recommend to install remote developent for the VS Code App.
Copy link
Member

Choose a reason for hiding this comment

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

development (but i don't know what this sentence means)

(using the arrow keys on your keyboard, then hit ++"Enter"++).
Then follow the instruction to authenticate yourself.
If you get an error message something like "You do not have access to this"
durng the Microsoft Authentication, then you might have to
Copy link
Member

Choose a reason for hiding this comment

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

during

`How would you like to log in to Visual Studio Code?` choose `Microsoft Account`
(using the arrow keys on your keyboard, then hit ++"Enter"++).
Then follow the instruction to authenticate yourself.
If you get an error message something like "You do not have access to this"
Copy link
Member

Choose a reason for hiding this comment

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

is there a way to make this a warn or tip or info block? @boegel do you know how to do this?

If you get an error message something like "You do not have access to this"
durng the Microsoft Authentication, then you might have to
[whitelist yourself](https://dictselfservice.ugent.be/index.php?page=requestform&form=deviceCodeAuth)
(You have to do it only once.)
Copy link
Member

Choose a reason for hiding this comment

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

add that this is only for ugent users and they can use Need VS Code tunnel for HPC as motivation text

[whitelist yourself](https://dictselfservice.ugent.be/index.php?page=requestform&form=deviceCodeAuth)
(You have to do it only once.)

If you are not connected automatically to the tunnel, please select "connect to..." and then
Copy link
Member

Choose a reason for hiding this comment

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

where is this? is this in the local vscode?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. When you open VS Code App it will try to connect to the tunnels that were open when you closed the app.

(You have to do it only once.)

If you are not connected automatically to the tunnel, please select "connect to..." and then
"Connet to Tunnel" using Microsoft Account and select the tunnel named `vsc-<your vsc account>-<cluster>`.
Copy link
Member

Choose a reason for hiding this comment

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

connect

This means that your VS Code App is newer than the CLI on our systems.
We update the centrally installed CLI time to time,
but the upgrade rate of the App/CLI is very high,
so it is hard for us to follow it tightly.
Copy link
Member

Choose a reason for hiding this comment

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

Feel free to point newer versions out to us using the software install form ?

so it is hard for us to follow it tightly.

Please do not use VS Code to ssh to the login nodes,
but always use a VS Code Tunnel conection,
Copy link
Member

Choose a reason for hiding this comment

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

connection


Please do not use VS Code to ssh to the login nodes,
but always use a VS Code Tunnel conection,
peferably using the [interactive and debug cluster](./interactive_debug.md)
Copy link
Member

Choose a reason for hiding this comment

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

preferably

@stdweird stdweird merged commit 6d7b1e5 into hpcugent:main Oct 8, 2024
2 checks passed
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.

2 participants