Generating your SSH Key on Windows

  • Home
  • Docs
  • Generating your SSH Key on Windows
 

Generating your SSH Key on Windows

Windows 10 now has ssh built right in!

Install it using Microsoft's documentation and 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 "youremail@somewhere.com"

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 rm .ssh/id_rsa* and then re-deploy a fresh key.

Upload your public key to Userify by copying and pasting the contents of .ssh/id_rsa.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_rsa.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

Get More Information

Please fill out the form below to receive more information. If you are inquiring about purchasing Userify, please be sure to include your company name, number of servers and users, and the Userify edition that you are interested in.