cNGN documentation
  • Introduction
    • Overview
      • Use Cases
      • Definitions
      • Brand Assets
    • Going Live checklist
  • Getting Started
    • Security
      • Generating SSH keys
      • Generating API Keys
      • Encrypting / Decrypting Request
  • Integrations
    • Contract Address
    • Networks Enum
    • Authorization
    • Endpoints
      • Get Balance
      • Get Bank List
      • Transaction History
      • Virtual Account
      • Redeem Assets
      • Withdraw cNGN
      • Verify Withdrawal
      • Bridge cNGN
      • Whitelist Address
  • Libraries/SDKs
    • Backend Libraries
      • cNGN PHP Library
      • cNGN Python Library
      • cNGN Nodejs Library
      • cNGN Java Library
    • Frontend SDKs/Widget
Powered by GitBook
On this page
  1. Getting Started
  2. Security

Generating SSH keys

Creating and Copying SSH Elliptic Curve Keys

This guide provides step-by-step instructions for creating and copying SSH elliptic curve keys on Windows, macOS, and Linux.## Windows### Creating the Key1. Open PowerShell as an administrator.

1. Run the following command:

$ ssh-keygen -t ed25519 -C "your_email@example.com"

2. When prompted, choose a location to save the key (default is `C:\Users\YourUsername\.ssh\id_ed25519`).

3. Enter a passphrase when prompted (or press Enter for no passphrase).

Copying the Keys1. Navigate to the .ssh directory:

$ cd ~\.ssh
cd ~\.ssh

2. View and copy the public key:

$ cat id_ed25519.pub | pbcopy
Get-Content .\id_ed25519.pub | Set-Clipboard

Important Notes

- The public key (id_ed25519.pub) is safe to share and is used for authentication. - Keep the private key (id_ed25519) confidential and secure. Do not share it. - Adjust file paths if you chose a different location or key name during creation.

PreviousSecurityNextGenerating API Keys

Last updated 7 months ago