# SSH Client

## SSH to a Linux server using RSA key

### Convert the RSA key from Windows

Download and install [Putty](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html).

Putty comes with a tool called PuttyGen, which is used to convert RSA keys to Windows format.

Open PuttyGen, Click on **Conversions** menu and select **Import Key**.

Browse to the folder that contains the .pem

When finished, click the 'Save private key' button to save it into a **.ppk** file.

{% hint style="info" %}
If you need to revert the conversion from Linux you can `apt install putty-tools` and then `puttygen server.ppk -O private-openssh -o server.pem`
{% endhint %}

#### SSH connect

Open PuTTY and navigate to 'Connection > SSH > Auth'.

Click the Browse button near the 'Private key file for authentication' field.

Select the **.ppk** file you generated and then click open.

Navigate to the 'Session' category and enter the IP Address of your server in the 'Host Name' field and connect.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.devops.buzz/public/windows/ssh-client.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
