Skip to content

Create 🔑 SSH Keys

Learn how to generate and use SSH keys for secure authentication in server environments.

Variables

When filling out the values of the variables, don't include the <> but fill in the appropriate value.

Create and collect keys

1. Open Terminal

2. Generate the key using

Note: This will generate public and private keys in the current directory.

ssh-keygen -t rsa -b 4096 -C "<username>"

Fill in the <username> with your name, to name the key.

3. Choose a file location

You will be prompted to save the key in a default location, which is usually /Users/YourUsername/.ssh/id_rsa. Press Enter to confirm the default location.

4. Set a passphrase

You’ll be asked to enter a passphrase to protect the private key. Enter a secure password and store it well.

5. Display the public key

You should see Your identification has been saved in <key-path>

cat <key-path>.pub

There you copy the key and send the "Mods" on discord for access.

1. Open PowerShell

2. Generate the key using:

Note: This will generate public and private keys in the current directory.

ssh-keygen -t rsa -b 4096 -C "<username>"

Fill in the <username> with your name, to name the key.

3. Set a passphrase

You’ll be asked to enter a passphrase to protect the private key. Enter a secure password and store it well.

4. Display the public key

You should see Your identification has been saved in <key-path>

cat <key-path>.pub

There you copy the key and send the "Mods" on discord for access.