> ## Documentation Index
> Fetch the complete documentation index at: https://docs.d4ds-dev.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SSH Key Generation

> Guide to generating and loading SSH keys at Wavez Engineering

## **SSH Key Generation 🔐**

SSH key pairs are essential for anyone in IT, especially when working with servers or pushing code to SCM systems like GitLab and GitHub. Consider your SSH key as a secure ID card—protect it well. Follow these steps to generate your SSH key.

### [**​**](https://docs.wavez.tech/engineering/ssh-key#generating-an-ssh-key-%F0%9F%9B%A0%EF%B8%8F)

**Generating an SSH Key 🛠️**To create your SSH key pair, run the following commands:

Copy

```shellscript theme={null}
cd ~/.ssh
```

Copy

```shellscript theme={null}
ssh-keygen -t rsa -b 4096
```

Copy

```shellscript theme={null}
cat id_rsa.pub
```

#### [**​**](https://docs.wavez.tech/engineering/ssh-key#important-notes%3A)

**Important Notes:**

* During generation, you may be prompted to set a passphrase. While optional, adding a passphrase increases security, so consider using one you can remember.
* **Never share your private key** (`id_rsa` file) with anyone.
* The `.pub` file (e.g., `id_rsa.pub`) is your **public key** and can be shared for authentication. The other file (e.g., `id_rsa`) is your **private key** and must remain secure.

### [**​**](https://docs.wavez.tech/engineering/ssh-key#loading-ssh-keys-%F0%9F%97%9D%EF%B8%8F)

**Loading SSH Keys 🗝️**To verify if your SSH key is loaded, use the following command:

Copy

```shellscript theme={null}
ssh-add -l
```

If no keys are listed, load your SSH key manually:

Copy

```shellscript theme={null}
ssh-add ~/.ssh/id_rsa
```

You’ll be prompted to enter your passphrase if you set one. Running`ssh-add -l`again should then show your loaded SSH key.

***

Following these steps ensures secure access to servers and SCM systems, safeguarding Wavez’s code and infrastructure. If you encounter any issues or have questions about SSH key management, feel free to reach out.
