---
title: Connecting to Linux server over SSH from Windows
description: "This guide will help you establish an SSH connection from Windows to your Linux server. **Step 1:** Please download PuTTY (putty.exe) from: [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) **Step 2:** Please fill up the IP address of your server (*optional: and port if different than 22)* and click…"
url: "https://www.clouvider.com/knowledge_base/connecting-to-linux-server-over-ssh-from-windows/"
updated: "2022-01-04"
category: Guides / Linux
tags:
  - Linux
  - network
  - PuTTY
  - Server
  - SSH
  - Windows
  - Windows Server
---

# Connecting to Linux server over SSH from Windows

This guide will help you establish an SSH connection from Windows to your Linux server.

**Step 1:** Please download PuTTY (putty.exe) from: [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)

**Step 2:** Please fill up the IP address of your server (*optional: and port if different than 22)* and click open:

 ![putty.png](https://console.clouvider.co.uk/kb/putty.png)

Putty Configuration

That's it! You are now connected to your server via putty.

**Optional - Generating and using RSA keys with puttygen.exe**

**Step 1:** Please download PuTTY Gen (puttygen.exe) from: [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)

**Step 2:** Generate your RSA key:

![puttygen.png](https://console.clouvider.co.uk/kb/puttygen.png)

Press **Generate** key and move your mouse inside the puttygen window:

![generating.png](https://console.clouvider.co.uk/kb/generating.png)

**Step 3:** Please copy the public key from the text window and paste it inside your ~/.ssh/authorized_keys file on your Linux server and save your private key:

![puttygensave.png](https://console.clouvider.co.uk/kb/puttygensave.png)

*Optional:* You can also define a password to your private key before saving your key.

**Step 4:** Open putty.exe. In the left menu, choose SSH->Auth, click the Browse button and select your private key and click open.

![puttygenkey.png](https://console.clouvider.co.uk/kb/puttygenkey.png)

Now PuTTY will provide your private key during connection to your server.
