SSH Key Generation
An SSH key is required when logging in to a system/server remotely to create an encrypted communication channel.
You may also want to review How to use SSH Authman - for users or Setting up SSH Authman - for server owners.
We recommend that you use a separate unique SSH Key for each device you use.
Generating an SSH Key
For Windows (outside of WSL), install the OpenSSH Client.
Open a terminal/shell on your computer.
Generate an ed25519 key.
$ ssh-keygen -t ed25519 -C "key comment"If you are connecting to servers that don't support ed25519 keys, you can use an RSA key instead. We recommend at least a 4096 key size.
$ ssh-keygen -t rsa -b 4096 -C "key comment"When you are prompted to provide a file path, you can press enter to keep the default location:
> Enter a file in which to save the key (/Users/you/.ssh/id_ed25519): [Press enter]When prompted, type a secure passphrase. We do not recommend having an SSH Key with no password.
> Enter passphrase (empty for no passphrase): [Type a passphrase] > Enter same passphrase again: [Type passphrase again]
Install OpenSSH Client on Windows
Open the Settings application.
Search for and open “Optional features”.
Next to “View or edit optional features”, select View features.
Select “See available features”.
Search for “OpenSSH Client”. Select it, and click Add.
Related articles
Need help?
Please submit support requests to this portal.
Article feedback
If you’d like to share any feedback about this article, please let us know.