Skip to main content
All CollectionsSFTP
Generate an SSH key for SFTP acces
Generate an SSH key for SFTP acces

Find out how to generate the OpenSSH key for the SFTP connection.

Ron Danenberg avatar
Written by Ron Danenberg
Updated over a week ago

To facilitate access to the SFTP server, Kolleno requires an OpenSSH public key from your team. Upon receipt, Kolleno will provide the credentials necessary (username and host) for connection, which you will use alongside your private key to connect to the server.

  1. Open Terminal (macOS) or PowerShell (Windows).

  2. Generate the SSH Key:

    ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
    • -t rsa: Specifies the type of key to create, RSA in this case.

    • -b 4096: Specifies the number of bits in the key, 4096 in this case.

    • -C "your_email@example.com": Adds a label, typically your email.

  3. Save the Key:

    • When prompted to "Enter file in which to save the key," press Enter to save it in the default location (/Users/your_username/.ssh/id_rsa on macOS or C:\Users\your_username\.ssh\id_rsa on Windows).

  4. Set a Passphrase (optional):

    • Enter a passphrase for added security or press Enter to skip.

After these steps, you will have:

  • Private key (to keep confidential on your side): ~/.ssh/id_rsa (macOS) or C:\Users\your_username\.ssh\id_rsa (Windows)

  • Public key (to send to Kolleno): ~/.ssh/id_rsa.pub (macOS) or C:\Users\your_username\.ssh\id_rsa.pub (Windows)

You can then use these key files as needed for authentication purposes.

Did this answer your question?