1.6 C
Saturday, January 23, 2021

How to create an SSH key easily in Windows 10

Must read

Please Donate

Mel Khamlichi
Mel Khamlichihttp://www.osradar.com
Founder of Osradar, from Amsterdam Netherlands

Hi, how are you? Today we’re going to talk about the SSH keys. These are used to access dedicated servers. Additionally, to enter VPS securely through the command line. Therefore, it is a very useful tool to create a secure tunnel over the network. In this way, data can be transferred between the server and the client in a secure and encrypted way. Consequently, in this post, we will see how to create an SSH key easily in Windows 10.

What is an SSH key

An SSH key (has a public and private part) serves to connect a client to a server. Additionally, it is an automatic process. That is, you do not have to enter your password each time you access the service. In addition, it is not necessary to send the password over the Internet. The nature of the key prevents brute-force attacks. This prevents a potential attacker from guessing the credentials correctly. Please note that security is a critical issue.

How to create an SSH key in Windows 10

This is a quick and easy process to do. First, you need to check if the OpenSSH client is installed on Windows 10. By default, it should be enabled. However, let’s see how to check it. In the first place, enter the Windows settings by pressing the Win+I combination. Once there, enter the Apps.

Please enter the Apps.
Please enter the Apps.

Once there, please click on the optional applications

Please click on the optional features.
Please click on the optional features.

Then, verify that the client is installed. If not, press install and restart the computer to save the changes.

Verifies the presence of the OpenSSH client
Verifies the presence of the OpenSSH client

After verifying that the client is active, it is time to generate the SSH key. To do this you need to open a Command Prompt as an administrator. With this intention, please write in the CMD search bar and run it as an administrator.

Run a CMD as an administrator.
Run a CMD as an administrator.

Then execute the following command:


The first thing the system will do is ask for the destination folder. You can choose anyone, or leave it as default. If so, just press Enter. Next, you need to enter a password and confirm it. Also, you can not assign a password. But this doesn’t sound very smart, does it? After confirming the password, the key will be generated. In effect, the public and private key is displayed in RSA 2048 algorithm.

SSH key successfully generated.
SSH key successfully generated.

If you use the file browser to go to the destination folder, you will see the successfully generated keys.

SSH key location.
SSH key location.


In this simple way, we have seen how to generate an SSH key in Windows 10. This simple method allows increasing the security in the communications. Well, that’s all for now. Please take a look at our post about the problems with deleting user profiles in Windows 10. So long!

More articles


Please enter your comment!
Please enter your name here


Latest article