SSH Keys
Managing Your SSH Key in Morph Cloud
Accessing the SSH Keys Page
- Log in to your Morph Cloud account
- Navigate to the SSH Keys section in the left sidebar
- You'll see your current SSH key displayed at the top of the page (if one has been set)
Creating an SSH Key
- macOS/Linux
- Windows
Creating an SSH Key on macOS/Linux
- Open Terminal
- Run the following command (replace with your email):
ssh-keygen -t ed25519 -C "your_email@example.com"
- When prompted to "Enter a file in which to save the key," press Enter to accept the default location
- Set a secure passphrase when prompted (recommended)
- Your new SSH key pair is now generated
To view your public key, run:
cat ~/.ssh/id_ed25519.pub
This will display your public key, which should begin with ssh-ed25519
followed by a string of characters and your email.
Creating an SSH Key on Windows
- Open Git Bash (install Git for Windows if you haven't already)
- Run the following command (replace with your email):
ssh-keygen -t ed25519 -C "your_email@example.com"
- When prompted to "Enter a file in which to save the key," press Enter to accept the default location
- Set a secure passphrase when prompted (recommended)
- Your new SSH key pair is now generated
To view your public key, run:
cat ~/.ssh/id_ed25519.pub
This will display your public key, which should begin with ssh-ed25519
followed by a string of characters and your email.
Setting Your SSH Key in Morph Cloud
- Copy your entire public key (including
ssh-ed25519
at the beginning and your email at the end) - Go to the SSH Keys page at https://cloud.morph.so/web/ssh
- Paste your public key into the "New SSH Key" text box
- Click the "Set SSH Key" button
- Your new key will replace any previously set key and appear in the "Current SSH Key" section
Important Notes
- Morph Cloud only supports one SSH key per account/org at a time
- Setting a new SSH key will replace your existing key
- If you change your SSH key, you'll need to update any systems or workflows that use the previous key