Skip to content

Commit 46d119a

Browse files
authored
Merge pull request #231 from NYU-RTS/no-ssh-keys
no need for an ssh keys section anymore
2 parents 7a74b99 + 4daff34 commit 46d119a

File tree

7 files changed

+12
-19
lines changed

7 files changed

+12
-19
lines changed

docs/hpc/01_getting_started/03_walkthrough_request_hpc_account.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
44
# How to request an HPC account
55

66
:::tip
7-
Make sure you don't already have an HPC account. You can check this by attempting to log in to the cluster, according to the instructions at [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.md).
7+
Make sure you don't already have an HPC account. You can check this by attempting to log in to the cluster, according to the instructions at [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.mdx).
88
:::
99

1010
Login to the URL given below, using your NetID/password, to create or manage HPC Account Requests:

docs/hpc/01_getting_started/06_hpc_accounts_external_collaborators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ External (non-NYU) collaborators can access, with proper sponsorship, the NYU HP
1313
:::note
1414
Once the sponsoring faculty approves the account request, the HPC account is created within one hour.
1515
:::
16-
- Once the HPC account is created, the external collaborator can access HPC resources as described in our documentation page [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.md).
16+
- Once the HPC account is created, the external collaborator can access HPC resources as described in our documentation page [Connecting to the HPC Cluster](../02_connecting_to_hpc/01_connecting_to_hpc.mdx).
1717

1818
:::note
1919
As with all sponsored accounts, HPC accounts for external collaborators are valid for a period of 12 months, at which point a renewal process is required to continue access to the NYU HPC environment. You can find information about renewing your account on our documentation page [Getting and Renewing an HPC Account](./02_getting_and_renewing_an_account.mdx).

docs/hpc/02_connecting_to_hpc/01_connecting_to_hpc.md renamed to docs/hpc/02_connecting_to_hpc/01_connecting_to_hpc.mdx

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ Host torch login.torch.hpc.nyu.edu
3333
UserKnownHostsFile /dev/null
3434
LogLevel ERROR
3535
```
36+
37+
:::warning[No SSH Keys on Torch]
38+
SSH keys are not supported on Torch due to increased security resrtictions.
39+
:::
40+
41+
3642
### MacOS/Linux
3743

3844
MacOS/Linux machines have SSH clients pre-installed. Using the editor of your choice, open the `~/.ssh/config` file on your machine and add the contents listed above.
@@ -119,19 +125,6 @@ There is an extra layer of security when accessing Torch which is described belo
119125
- Return to terminal and hit Enter
120126
![torch-ssh-2fa-9](static/torch-ssh-2fa-9.png)
121127

122-
## SSH Keys for Torch
123-
:::warning
124-
SSH keys are not supported on Torch!
125-
:::
126-
127-
Instead of typing your password every time you need to log in, you can also specify an ssh key.
128-
129-
- Only do that on the computer you trust
130-
- Generate ssh key pair (terminal in Linux/Mac or cmd/WSL in Windows) [using ssh keygen](https://www.ssh.com/ssh/keygen/)
131-
- Note the path to ssh key files. Don't share key files with anybody - anybody with this key file can login to your account
132-
- Log into cluster using regular login/password and then add the content of generated public key file (the one with .pub) to `$HOME/.ssh/authorized_keys` on cluster
133-
- Next time you will log into cluster no password will be required
134-
135128

136129
[nyu vpn link]: https://www.nyu.edu/life/information-technology/infrastructure/network-services/vpn.html
137130

docs/hpc/03_storage/07_transferring_cloud_storage_data_with_rclone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ There are specific instruction on the [rclone web site](https://rclone.org/drive
3333

3434
### Step 1: Login to Torch:
3535

36-
Follow [instructions](../02_connecting_to_hpc/01_connecting_to_hpc.md) to log into the Torch HPC cluster.
36+
Follow [instructions](../02_connecting_to_hpc/01_connecting_to_hpc.mdx) to log into the Torch HPC cluster.
3737

3838
### Step 2: Load the rclone module
3939
```sh

docs/hpc/08_ml_ai_hpc/05_run_hf_model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Here we provide an example of how one can run a Hugging Face Large-language mode
55
## Prepare environment
66
### Create project directory
77

8-
After [logging on to a Torch login node](../02_connecting_to_hpc/01_connecting_to_hpc.md), make a directory for this project:
8+
After [logging on to a Torch login node](../02_connecting_to_hpc/01_connecting_to_hpc.mdx), make a directory for this project:
99
```bash
1010
[NetID@log-1 ~]$ mkdir -p /scratch/NetID/llm_example
1111
[NetID@log-1 ~]$ cd /scratch/NetID/llm_example

docs/hpc/09_ood/01_ood_intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ Just click on the `Session ID` link and a tab will open with the contents of the
6363

6464
#### From terminal
6565

66-
If your session is no longer visible from within OOD you may still be able to find your logs via the terminal. Simply [log into Torch](../02_connecting_to_hpc/01_connecting_to_hpc.md) and `cd` to `/home/$USER/ondemand/data/sys/dashboard/batch_connect/sys/` and then `cd` into the directory for the app that you're interested in. You should find the file `output.log` there.
66+
If your session is no longer visible from within OOD you may still be able to find your logs via the terminal. Simply [log into Torch](../02_connecting_to_hpc/01_connecting_to_hpc.mdx) and `cd` to `/home/$USER/ondemand/data/sys/dashboard/batch_connect/sys/` and then `cd` into the directory for the app that you're interested in. You should find the file `output.log` there.

docs/hpc/09_ood/07_jupyter_with_conda_singularity.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This page describes how to use your Singularity with conda environment in OOD GUI at Torch.
55

66
### Log Into Torch via the Terminal
7-
The following commands must be run from the terminal. Information on accessing via the terminal can be found at [Connecting to the HPC](../02_connecting_to_hpc/01_connecting_to_hpc.md) or you can log into OOD and select the `Clusters` tab at the top of the page and select `Torch Shell Access`.
7+
The following commands must be run from the terminal. Information on accessing via the terminal can be found at [Connecting to the HPC](../02_connecting_to_hpc/01_connecting_to_hpc.mdx) or you can log into OOD and select the `Clusters` tab at the top of the page and select `Torch Shell Access`.
88

99
### Preinstallation Warning
1010
:::warning

0 commit comments

Comments
 (0)