Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 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
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
79 changes: 70 additions & 9 deletions docs/additional-resources/amc_ssh_auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,70 @@ 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.
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.

(tabset-ref-get-account)=
``````{tab-set}
:sync-group: tabset-os-version
`````{tab-item} Windows
:sync: os-version-windows
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/>
It is recommended you use Powershell, but command prompt or a basic windows terminal will also work. Once inside Powershell (or similar), execute the following command:
```
ssh-keygen -t ed25519
Comment thread
MSherren marked this conversation as resolved.
```
After, it is important that you **_create a passphrase_** and note the file path of the generated key. This will be important for step 3. You can also name the key in the `Enter file ...` step to make it unique, instead of remaining the default `id_ed25519`. In the example output provided below, we 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] -----+
```

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>
- Using PuTTY: <https://devops.ionos.com/tutorials/use-ssh-keys-with-putty-on-windows/>
Comment thread
MSherren marked this conversation as resolved.

`````
`````{tab-item} Mac
:sync: os-version-mac
SSH Key Generation for Mac and Linux Users:
From a terminal window, execute the following command:
```
ssh-keygen -t ed25519
```
- After, it is important that you **_create a passphrase_** and note the file path of the generated key. This will be important for step 3. You can also name the key in the `Enter file ...` step to make it unique, instead of remaining the default `id_ed25519`. Example output:

```
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}
Note for Mac users: 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](https://registry.cilogon.org/registry/)*

After logging into [registry.cilogon.org](https://registry.cilogon.org/registry/) with your ACCESS
Expand All @@ -74,7 +128,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 @@ -99,9 +153,9 @@ SSH into the CURC CI login node by entering the following in your terminal or te
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
```

You will be prompted to enter your passphrase if you set one during key generation.
Expand All @@ -121,7 +175,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.
* 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__** and are not a Mac user, 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.
* 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
81 changes: 70 additions & 11 deletions docs/additional-resources/registrycilogon-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,71 @@ 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.
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. You are also strongly encouraged to create an ed25519 key type.

(tabset-ref-get-account)=
``````{tab-set}
:sync-group: tabset-os-version
`````{tab-item} Windows
:sync: os-version-windows
SSH Key Generation for Windows Users:
It is recommended you use Powershell, but command prompt or a basic windows terminal will also work. Once inside Powershell (or similar), execute the following command:
```
ssh-keygen -t ed25519
```
After, it is important that you **_create a passphrase_** and note the file path of the generated key. This will be important for step 3. You can also name the key in the `Enter file ...` step to make it unique, instead of remaining the default `id_ed25519`. In the example output provided below, we 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] -----+
```

- Using PuTTY: <https://devops.ionos.com/tutorials/use-ssh-keys-with-putty-on-windows/>
`````
`````{tab-item} Mac
:sync: os-version-mac

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/)
SSH Key Generation for Mac and Linux Users:
From a terminal window, execute the following command:
```
ssh-keygen -t ed25519
```
- After, it is important that you **_create a passphrase_** and note the file path of the generated key. This will be important for step 3. You can also name the key in the `Enter file ...` step to make it unique, instead of remaining the default `id_ed25519`. Example output:

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)

```
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}
Note for Mac users: 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,11 +110,8 @@ 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)
Expand All @@ -73,7 +127,12 @@ A green message box will notify you that your SSH key was successfully added to
Log in at [registry.cilogon.org](https://registry.cilogon.org/registry/) and navigate to the "Authenticators" section of your profile (see [Step 3](#step-3-upload-your-ssh-key-to-registrycilogonorg), above). Click "Delete", then repeat the process for adding a new key. It will take a few minutes before you can log in with your new key.

## Troubleshooting

* 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 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)
Expand Down