Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
5d09582
Added new ssh screenshots for ssh documentation
MSherren May 15, 2026
9352190
Added new mac ssh keygen image
MSherren May 15, 2026
0de0ff4
Delete old mac ssh keygen file
MSherren May 15, 2026
e7c886b
Update amc_ssh_auth.md step 2 with new ssh key pair
MSherren May 15, 2026
334cb1f
Update amc_ssh_auth.md to include troubleshooting section for Macs
MSherren May 15, 2026
960b753
Update amc_ssh_auth.md
MSherren May 15, 2026
4fc80bd
Update registrycilogon-instructions.md to match
MSherren May 15, 2026
60e42af
Update amc_ssh_auth.md header hemogony
MSherren May 15, 2026
8825a88
Header Hegemony
MSherren May 15, 2026
060d2dd
Update docs/additional-resources/amc_ssh_auth.md
MSherren May 21, 2026
639c417
Update registrycilogon-instructions.md
MSherren Jun 16, 2026
de83690
Update registrycilogon-instructions.md
MSherren Jun 16, 2026
32dea1e
Update registrycilogon-instructions.md
MSherren Jun 16, 2026
e18369f
Delete docs/additional-resources/amc_ssh_images/mac_sshkeygen_real.png
MSherren Jun 16, 2026
ea313e7
Delete docs/additional-resources/amc_ssh_images/windows_ssh_keygen_ex…
MSherren Jun 16, 2026
c8002f2
Merge branch 'ResearchComputing:main' into main
MSherren Jun 16, 2026
e2082e2
Update amc_ssh_auth.md
MSherren Jun 16, 2026
be7e939
Merge branch 'main' into main
MSherren Jul 9, 2026
aab6b70
Update docs/additional-resources/amc_ssh_auth.md
MSherren Jul 9, 2026
c4f7072
Update amc_ssh_auth.md "Note"
MSherren Jul 9, 2026
4da901a
Update amc_ssh_auth.md with "Note"
MSherren Jul 9, 2026
758a03b
Update docs/additional-resources/amc_ssh_auth.md
MSherren Jul 9, 2026
40552cb
Update docs/additional-resources/amc_ssh_auth.md
MSherren Jul 9, 2026
cd3bdb3
Update docs/additional-resources/amc_ssh_auth.md
MSherren Jul 9, 2026
d94dbb6
Update amc_ssh_auth.md to remove all id_rsa references
MSherren Jul 9, 2026
e36a22f
Update amc_ssh_auth.md to add option to rename key
MSherren Jul 9, 2026
599b865
Update docs/additional-resources/amc_ssh_auth.md
MSherren Jul 9, 2026
d2fb67b
Update docs/additional-resources/amc_ssh_auth.md
MSherren Jul 9, 2026
539de66
Update registrycilogon-instructions.md
MSherren Jul 9, 2026
ba1a555
Update registrycilogon-instructions.md to include TABS
MSherren Jul 9, 2026
7e4ca10
Update registrycilogon-instructions.md tabset versions
MSherren Jul 9, 2026
7695fed
Update registrycilogon-instructions.md
MSherren Jul 9, 2026
e206358
Update amc_ssh_auth.md Tabs and tabsets
MSherren Jul 9, 2026
8739e2e
Update registrycilogon-instructions.md
MSherren Jul 9, 2026
af5dde0
Update amc_ssh_auth.md
MSherren Jul 9, 2026
69c2a94
Make some small corrections and expand explinations for key generatio…
b-reyes Jul 15, 2026
334e007
Merge branch 'up-main'
b-reyes Jul 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 73 additions & 14 deletions docs/additional-resources/amc_ssh_auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,68 @@ You can move on to [Step 2](#step-2-generate-an-ssh-key), but please make sure 1
```
## *Step 2: Generate an ssh key*

You are strongly encouraged to set a passphrase for your key pair. You will be prompted to enter the passphrase each time you log in.

SSH Key Generation for Windows Users:
- Using the command prompt, PowerShell, or Windows Terminal: <https://www.howtogeek.com/762863/how-to-generate-ssh-keys-in-windows-10-and-windows-11/>
- Using PuTTY: <https://devops.ionos.com/tutorials/use-ssh-keys-with-putty-on-windows/>
```{important}
You are strongly encouraged to set a passphrase for your key pair and generate a Ed25519 key. You will be prompted to enter the passphrase each time you log in.
```

SSH Key Generation for Mac Users:
<https://docs.tritondatacenter.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-mac-os-x>
(tabset-ref-get-account)=
``````{tab-set}
:sync-group: tabset-os-version
`````{tab-item} Windows
:sync: os-version-windows
When generating a key on Windows it is recommended you use Powershell, but the command prompt or a basic Windows terminal will also work. Once inside Powershell (or similar), execute the following command to generate an Ed25519 key:
```
ssh-keygen -t ed25519
Comment thread
MSherren marked this conversation as resolved.
```
Once the above command is executed, you will be prompted for several items that will help you generate the key. It is recommended that you **_create a passphrase_** and note the file path of the generated key. During key generation, you may also name the key in the `Enter file in which to save the key` portion, instead of using the default `id_ed25519` name. This is often necessary if you have previously generated keys. In the example output provided below, we use the default name and see that the public key has been saved in the path `C:\Users\username\.ssh\id_ed25519.pub`.

```
Z:\> ssh-keygen -t ed25519
Generating public/private ed25519 key pair.
Enter file in which to save the key (C:\Users\username\.ssh\id_ed25519):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\username\.ssh\id_ed25519.
Your public key has been saved in C:\Users\username\.ssh\id_ed25519.pub.
The key fingerprint is :
SHA256:<key here>
The key's randomart image is:
+-- [ED25519 256] --+
| .++*=B=. |
...
+---- [SHA256] -----+
```

## *Step 3: Upload your ssh key to [registry.cilogon.org](https://registry.cilogon.org/registry/)*
`````
`````{tab-item} Mac
:sync: os-version-mac
SSH key generation for Mac and Linux users can be completed from a terminal window. In a terminal, execute the following command to generate an Ed25519 key:
```
ssh-keygen -t ed25519
```
Once the above command is executed, you will be prompted for several items that will help you generate the key. It is recommended that you **_create a passphrase_** and note the file path of the generated key. During key generation, you may also name the key in the `Enter file in which to save the key` portion, instead of using the default `id_ed25519` name. This is often necessary if you have previously generated keys. In the example output provided below, we use the default name and see that the public key has been saved in the path `/Users/username/.ssh/id_ed25519.pub`
```
username$ ssh-keygen -t ed25519
Generating public/private ed25519 key pair.
Enter file in which to save the key (/Users/username/.ssh/id_ed25519):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/username/.ssh/id_ed25519.
Your public key has been saved in /Users/username/.ssh/id_ed25519.pub.
The key fingerprint is :
SHA256:<key here>
The key's ranomart image is:
+-- [ED25519 256] --+
| .++*=B=. |
...
+---- [SHA256] -----+
```
```{note}
There is a chance you need to create or alter your ssh config file `~/.ssh/config`. See more in the [Troubleshooting](#troubleshooting) section below.
```
`````
``````
## *Step 3: Upload your ssh key to registry.cilogon.org*

After logging into [registry.cilogon.org](https://registry.cilogon.org/registry/) with your ACCESS
credentials, click on the dropdown menu in the upper right-hand corner by your name.
Expand All @@ -74,7 +125,7 @@ Click "Manage" in the SSHKeyAuthenticator row.
Select "Add SSH Key".
![](./amc_ssh_images/add_sshkey.png)

Click "Choose File". If you store your SSH keys in a hidden directory (e.g. `~/.ssh`), it may be difficult to locate your public key using a Finder/File Explorer window. As a workaround, you can copy your public key to an easily discoverable location using the Terminal App/Windows Command Prompt: <br>`cp ~/.ssh/id_rsa.pub ~/Desktop`
Click "Choose File". If you store your SSH keys in a hidden directory (e.g. `~/.ssh`), it may be difficult to locate your public key using a Finder/File Explorer window. As a workaround, you can copy your public key to an easily discoverable location using the Terminal App/Windows Command Prompt: <br>`cp ~/.ssh/id_ed25519.pub ~/Desktop`
<br>

Locate your __public__ key (`<keyname>.pub`) on your local drive, then click "UPLOAD".
Expand All @@ -94,18 +145,19 @@ After a few minutes, you can proceed to [Step 4](#step-4-sign-in-from-a-terminal
You must be on the University of Colorado Anschutz Medical Campus VPN or network. See [prerequisites](#prerequisites) above.
```

SSH into the CURC CI login node by entering the following in your terminal or terminal emulator:
SSH into the CURC login node by entering the following in your terminal or terminal emulator:
```
ssh -i <privatekey_file> <username>@xsede.org@login.rc.colorado.edu
```
The `-i` flag is used to point to the location of your __private__ key on your local system. The private key must correspond to the public key you uploaded to your RMACC CILogon profile.
For example, if I uploaded `id_rsa.pub` to my profile, I would log in as such:
For example, if I uploaded `id_ed25519.pub` to my profile, I would log in as such:
```
ssh -i ~/.ssh/id_rsa lrf20@xsede.org@login.rc.colorado.edu
ssh -i ~/.ssh/id_ed25519 lrf20@xsede.org@login.rc.colorado.edu
```

```{note}
You will be prompted to enter your passphrase if you set one during key generation.

```

Once you are logged in, you will see the CURC Message of the Day and your prompt will change to `<username>@login-ciX` (where `X` will be a numeric value). The Message of the Day contains important information and reminders about CURC systems, so please take time to read this on a regular basis.
<br>
Expand All @@ -121,7 +173,14 @@ Log in at [registry.cilogon.org](https://registry.cilogon.org/registry/) and nav
## Troubleshooting

* If you are able to get through [Step 3](#step-3-upload-your-ssh-key-to-registrycilogonorg) but unable to ssh in from your terminal, check that the ssh key in your command is the same key you uploaded to the registry.
* If you are prompted for a **__passphrase__** (not a password) when signing in from your terminal, this refers to the passphrase you set when you generated your ssh key. If you don't remember it then you will have to generate and upload a new ssh key to the registry. If you are prompted for a **__password__**, please submit a [support request form](https://colorado.service-now.com/req_portal?id=ucb_sc_rc_form), as this indicates an issue with your CILogon enrollment. Please include a screenshot of the error message and the date/time of your last login attempt.
* If you are prompted for a **__passphrase__** (not a password) when signing in from your terminal, this refers to the passphrase you set when you generated your ssh key. If you don't remember it then you will have to generate and upload a new ssh key to the registry.
* **For Mac users:** If you have set up the key and followed all the steps above but are prompted for a **__password__** instead of a **__passphrase__**, you may need to edit or create a config file (`~/.ssh/config`). If you don't have an ssh config file, you can create it from the terminal window with the command `touch ~/.ssh/config`. After, edit the file and add the following 3 lines before trying again:
```
Host login.rc.colorado.edu
HostKeyAlgorithms ssh-ed25519
PubkeyAcceptedAlgorithms ssh-ed25519
```
* If you are prompted for a **__password__** please submit a [support request form](https://colorado.service-now.com/req_portal?id=ucb_sc_rc_form), as this indicates an issue with your CILogon enrollment. Please include a screenshot of the error message and the date/time of your last login attempt. **Mac users should first attempt the solution provided in the bullet point above.**
* If you receive an error message indicating that you are not in the COmanage registry (see screenshot below), please submit a [support request form](https://colorado.service-now.com/req_portal?id=ucb_sc_rc_form).

![](./amc_ssh_images/notregistered_error.png)
Expand Down
83 changes: 71 additions & 12 deletions docs/additional-resources/registrycilogon-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,67 @@ You can move on to Step 2, but please make sure 10 minutes have elapsed between

## *Step 2: Generate an ssh key*

You are strongly encouraged to set a passphrase for your key pair. You will be prompted to enter the passphrase each time you log in.
```{important}
You are strongly encouraged to set a passphrase for your key pair and generate a Ed25519 key. You will be prompted to enter the passphrase each time you log in.
```

SSH Key Generation instructions for Windows Users:
- Using command prompt, PowerShell, or Windows Terminal: visit [How to Generate SSH Keys in Windows 10 and Windows 11](https://www.howtogeek.com/762863/how-to-generate-ssh-keys-in-windows-10-and-windows-11/)
- Using PuTTY: visit [Use SSH Keys with PuTTY on Windows](https://devops.ionos.com/tutorials/use-ssh-keys-with-putty-on-windows/)
(tabset-ref-get-account)=
``````{tab-set}
:sync-group: tabset-os-version
`````{tab-item} Windows
:sync: os-version-windows
When generating a key on Windows it is recommended you use Powershell, but the command prompt or a basic Windows terminal will also work. Once inside Powershell (or similar), execute the following command to generate an Ed25519 key:
```
ssh-keygen -t ed25519
```
Once the above command is executed, you will be prompted for several items that will help you generate the key. It is recommended that you **_create a passphrase_** and note the file path of the generated key. During key generation, you may also name the key in the `Enter file in which to save the key` portion, instead of using the default `id_ed25519` name. This is often necessary if you have previously generated keys. In the example output provided below, we use the default name and see that the public key has been saved in the path `C:\Users\username\.ssh\id_ed25519.pub`.

SSH Key Generation instructions for Mac Users: visit [Manually generating your SSH key in macOS](https://docs.tritondatacenter.com/public-cloud/getting-started/ssh-keys/generating-an-ssh-key-manually/manually-generating-your-ssh-key-in-mac-os-x)
```
Z:\> ssh-keygen -t ed25519
Generating public/private ed25519 key pair.
Enter file in which to save the key (C:\Users\username\.ssh\id_ed25519):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\username\.ssh\id_ed25519.
Your public key has been saved in C:\Users\username\.ssh\id_ed25519.pub.
The key fingerprint is :
SHA256:<key here>
The key's randomart image is:
+-- [ED25519 256] --+
| .++*=B=. |
...
+---- [SHA256] -----+
```

`````
`````{tab-item} Mac
:sync: os-version-mac
SSH key generation for Mac and Linux users can be completed from a terminal window. In a terminal, execute the following command to generate an Ed25519 key:
```
ssh-keygen -t ed25519
```
Once the above command is executed, you will be prompted for several items that will help you generate the key. It is recommended that you **_create a passphrase_** and note the file path of the generated key. During key generation, you may also name the key in the `Enter file in which to save the key` portion, instead of using the default `id_ed25519` name. This is often necessary if you have previously generated keys. In the example output provided below, we use the default name and see that the public key has been saved in the path `/Users/username/.ssh/id_ed25519.pub`
```
username$ ssh-keygen -t ed25519
Generating public/private ed25519 key pair.
Enter file in which to save the key (/Users/username/.ssh/id_ed25519):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/username/.ssh/id_ed25519.
Your public key has been saved in /Users/username/.ssh/id_ed25519.pub.
The key fingerprint is :
SHA256:<key here>
The key's ranomart image is:
+-- [ED25519 256] --+
| .++*=B=. |
...
+---- [SHA256] -----+
```
```{note}
There is a chance you need to create or alter your ssh config file `~/.ssh/config`. See more in the [Troubleshooting](#troubleshooting) section below.
```
`````
``````

## *Step 3: Upload your ssh key to registry.cilogon.org*

Expand All @@ -53,18 +106,15 @@ Click "Manage" in the SSHKeyAuthenticator row.
Select "Add SSH Key".
![](./registry-images/add_sshkey.png)

Click "Choose File". If you store your SSH keys in a hidden directory (e.g. `~/.ssh`), it may be difficult to locate your public key using a Finder/File Explorer window. As a workaround, you can copy your public key to an easily discoverable location using the Terminal App/Windows Command Prompt:

```
cp ~/.ssh/id_rsa.pub ~/Desktop
```
Click "Choose File". If you store your SSH keys in a hidden directory (e.g. `~/.ssh`), it may be difficult to locate your public key using a Finder/File Explorer window. As a workaround, you can copy your public key to an easily discoverable location using the Terminal App/Windows Command Prompt: <br>`cp ~/.ssh/id_ed25519.pub ~/Desktop`
<br>

Locate your __public__ key (`<keyname>.pub`) on your local drive, then click "UPLOAD".
![](./registry-images/upload_sshkey.png)

<br>

A green message box will notify you that your SSH key was successfully added to your account.
A green message box will notify you that your SSH key has been successfully added to your account.
<br>
![](./registry-images/sshkeyadded.png)

Expand All @@ -74,7 +124,16 @@ Log in at [registry.cilogon.org](https://registry.cilogon.org/registry/) and nav

## Troubleshooting

* If you receive an error message indicating that you are not in the COmanage registry (see screenshot below), please submit a [support request form](https://colorado.service-now.com/req_portal?id=ucb_sc_rc_form).
* If you are able to get through [Step 3](#step-3-upload-your-ssh-key-to-registrycilogonorg) but unable to access CURC resources from your terminal, check that the key in your command is the same key you uploaded to the registry.
* If you are prompted for a **__passphrase__** (not a password), this refers to the passphrase you set when you generated your key. If you don't remember it then you will have to generate and upload a new key to the registry.
* **For Mac users:** If you have set up the key and followed all the steps above but are prompted for a **__password__** instead of a **__passphrase__**, you may need to edit or create a config file (`~/.ssh/config`). If you don't have an ssh config file, you can create it from the terminal window with the command `touch ~/.ssh/config`. After, edit the file and add the following 3 lines before trying again:
```
Host login.rc.colorado.edu
HostKeyAlgorithms ssh-ed25519
PubkeyAcceptedAlgorithms ssh-ed25519
```
* If you are prompted for a **__password__** please submit a [support request form](https://colorado.service-now.com/req_portal?id=ucb_sc_rc_form), as this indicates an issue with your CILogon enrollment. Please include a screenshot of the error message and the date/time of your last login attempt. **Mac users should first attempt the solution provided in the bullet point above.**
* If you receive an error message indicating that you are not in the COmanage registry (see screenshot below), please submit a [support request form](https://colorado.service-now.com/req_portal?id=ucb_sc_rc_form).

![](./registry-images/notregistered_error.png)
<br>