Frequently Asked Question

How to install OpenSSH on Windows 10?
Last Updated 7 months ago

1. Introduction

The OpenSSH client and server are installable features of Windows 10 1809 and higher. In this guide we will go through the installation process.

2. Enabling OpenSSH on Windows 10

  • Open Windows Settings from the Start Menu and click on "Apps"
image



  • Click on "Manage optional features"
image



  • In the "Manage Optional Features" Window press the "Add a feature" button
image



  • Select OpenSSH Client
image



  • After the installation open Powershell or CMD and type in following command:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

This will generate a new SSH Key

> Generating public/private rsa key pair.
  • When prompted to "Enter a file in which to save the key", press Enter.
  • The keys are stored in "C:\Users%USERNAME%.ssh" by default.
  • When prompted add a secure "Passphrase" and make sure to note it down.
> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]

Do not ever share your private key with others!

Loading ...