Create an SSH key (Windows, macOS, Linux)

Generate an SSH key pair to connect over SFTP without a password.

Files & SFTP Updated 1 min read

An SSH key replaces the password with a pair of files: a private key, which stays on your computer and must never be shared, and a public key, which you register in the panel. It is safer than a password.

Windows 10 and 11, macOS, Linux

  1. Open a terminal

    Windows: PowerShell. macOS: Terminal. Linux: your usual terminal.

  2. Generate the key

    Type the command below and press Enter. Accept the suggested location and choose a passphrase (recommended).

    ssh-keygen -t ed25519 -C "koinswift"

  3. Show the public key

    The public key is the file ending in .pub:

    cat ~/.ssh/id_ed25519.pub

    In Windows PowerShell:

    Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub

  4. Copy the line shown

    It starts with ssh-ed25519. This is what you will paste into the panel.

Never copy the file without .pub: that is your private key.

Need a hand?

The Koinswift team answers 7 days a week, by ticket from your client area or on Discord.