Generating your SSH Key on Windows

Questions?

Email our fast, friendly support if you have a question not covered here: [email protected].

Generating your SSH Key on Windows

Windows 10 and Windows Server 2019 and later versions now have OpenSSH built right in, or you can install it (microsoft.com)

After installation, then either generate a new ssh key right in your Command Prompt window, or download a private and public key (the new Microsoft OpenSSH version, or the older Putty private key) from your Userify dashboard.

First, generate a new ssh key (or download private keys from within Userify)

ssh-keygen -C "[email protected]"

When the command asks you where to save your key, just hit enter.

When prompted, a long, strong passphrase is recommended (use a phrase that only you know; it’s not necessary to mix in extra punctuation if the passphrase is at least 5 or 6 randomly-chosen words.) Press enter for any other prompts.

You’ll only have to type your passphrase in when you log into your desktop session, not every time you want to log into a server. Since you’re using Userify, if you forget your passphrase in the future, it’s easy to del or rm .ssh/id_ed25519* and then re-deploy a fresh key.

Upload your public key to Userify by copying and pasting the contents of .ssh/id_ed25519.pub in your home directory to Userify. Just cat the file and copy it from your terminal and paste it into Userify:

notepad .ssh/id_ed25519.pub

From now on, you can connect to any Userify-enabled server without typing a password, just by typing in and a Command Prompt:

ssh YourUserifyUsername@ServerIP


See Additional Documentation at Microsoft.com

Help!

Fast, free support is just a click away

Start managing your users and SSH keys in seconds     Try for free