Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For most modern OpenSSH clients, create a key pair with ssh-keygen -t ed25519 -C "your_email@example.com". Check whether you already have a key before accepting the suggested filename; protect the private key with a passphrase, and give the remote service only the matching public key ending in .pub.

Before generating a key, check whether you already have one

A new key pair is not always necessary. First look for existing SSH keys, especially if you use SSH for Git hosting or server access. GitHub’s guide recommends checking before generating a key and choosing a distinct filename if a default path is already occupied: GitHub Docs: Generating a new SSH key and adding it to the ssh-agent.

On macOS or Linux, a common place to check is the ~/.ssh directory. In Windows, check the SSH directory used by your OpenSSH environment. Filenames such as id_ed25519 and id_rsa are common, but a file’s presence alone does not establish which account or server uses it. If you see a key you recognize, avoid overwriting it. Generate the new pair under a different filename instead.

Generate a software-based SSH key pair

For a typical current OpenSSH client, Ed25519 is the straightforward choice. GitHub’s documented command is:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
ssh-keygen -t ed25519 -C "your_email@example.com"

Replace the example comment with a useful label, often an email address or a description that helps identify the key. The comment is not a secret and does not determine the key’s permissions. The -t ed25519 option selects the key type; specifying it makes the intended type explicit. The upstream OpenSSH manual lists Ed25519 as the default key type: OpenBSD manual: ssh-keygen(1).

  1. Run the command in a terminal with OpenSSH’s ssh-keygen available.
  2. When prompted for a file location, accept the suggested path only if it will not replace a key you need. Otherwise enter a distinct path, such as a new filename in your SSH directory, and remember it for later commands.
  3. At the passphrase prompt, enter and confirm a passphrase to protect the private key. You can leave it empty, but that removes this additional protection.

The command creates two files: the private key at the chosen path and the corresponding public key with .pub appended. Keep the private key on the machine or in an appropriately protected local environment. Add or copy only the public key to the service or server that should accept it.

Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

Choose a key type that fits the target

Situation Guidance Qualification
Modern OpenSSH client Use Ed25519 for the ordinary workflow described here. GitHub’s guide uses Ed25519, and the upstream manual lists it as the default key type.
Legacy system without Ed25519 support GitHub documents RSA with 4096 bits as a fallback. Check that both the client and target accept the relevant key and signature algorithms; support depends on the systems involved.
Hardware-backed authentication needed or preferred Consider OpenSSH FIDO key types such as ed25519-sk or ecdsa-sk. A compatible token and client/build support are required, and the token must be available when the key is used.

Compatibility guidance can be service-specific. For example, GitHub says it stopped accepting new DSA keys on March 15, 2022. Its RSA guidance distinguishes keys generated before November 2, 2021 from newer RSA keys, which require SHA-2 signatures. These are GitHub-specific statements, not universal rules for all SSH servers; see the GitHub key-generation guidance.

Understand and protect the private key

The private key is the credential used locally during SSH authentication; the public key is the part intended for installation on the account or server. Never upload, email, or paste the private-key file into a service’s public-key field. If a service requests an SSH key, it generally needs the contents of the matching .pub file.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

A passphrase adds protection if someone obtains the private-key file. It does not change the public key that you install. OpenSSH’s ssh-agent can hold a decrypted key for use during a session, reducing repeated passphrase entry; agent setup and integration with system keychains vary by operating system and shell. See the OpenSSH manual index for ssh-agent and the platform-specific instructions in GitHub’s ssh-agent guide.

Add the public key and verify access

  1. Open the target service’s SSH-key settings or follow the server administrator’s process for installing a public key.
  2. Display or open the public-key file for the pair you just created. Its path is the private-key path plus .pub. Copy that public-key content to the target; do not substitute the private-key file.
  3. Use the target service’s own documented authentication test command or try the intended SSH operation. The exact test command depends on the service and server configuration.

If authentication fails, confirm that you installed the public key from the intended pair, that the client is using the corresponding private key, and that the key type is supported by both ends. If you chose a custom filename, do not assume a client or agent will discover it automatically; follow the target’s instructions for selecting or loading that key.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Use a hardware-backed key only when it fits your needs

FIDO-backed OpenSSH key types are an optional alternative for users or organizations that want a physical authenticator involved in authentication. OpenSSH release notes state: “the hardware token that the key belongs to must be attached when the key is used.” The token, OpenSSH build, and target environment must support the chosen method. See OpenSSH release notes and the ssh-keygen(1) manual for details.

Frequently Asked Questions

How do I generate a new SSH key?

For a typical current OpenSSH client, run ssh-keygen -t ed25519 -C "your_email@example.com". Check for an existing key first, choose a non-conflicting path when needed, and set a passphrase for the private key.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

How do I add my SSH key to the ssh-agent?

The exact startup and key-loading commands differ across operating systems and shells. GitHub’s instructions cover its workflow: Generating a new SSH key and adding it to the ssh-agent.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.