FAQs

Authorized Key

Generate RSA key pairs for secure authentication with the dxflow engine

There are two ways to generate a dxflow key:

Method 1: Using dxflow engine

To generate a dxflow key using dxflow engine, this command creates a new RSA key pair for authenticating with the dxflow engine.

Command

dxflow engine key generate [NAME]

Parameters

  • [NAME] - Optional parameter to specify the key name. If omitted, defaults to rsa.

Steps

  1. Execute the command with your desired key name (or use default)
  2. The system will generate an RSA key pair for dxflow authentication

Output Files

The command generates two files in your current directory:

FileDescription
[NAME].pemPrivate key (keep secure)
[NAME].pubPublic key (for authentication)

Method 2: Using ssh-keygen

Generate a dxflow key using the standard SSH key generation utility. This method creates an RSA key pair compatible with the dxflow engine.

Command

ssh-keygen -t rsa -b 2048 -C "<your_email@example.com>"

Parameters

  • -t rsa - Specifies RSA key type
  • -b 2048 - Sets key length to 2048 bits
  • -C - Adds a comment (typically your email)

Steps

  1. Execute the command above, replacing <your_email@example.com> with your actual email
  2. When prompted for file location:
    • Press Enter to use default location (~/.ssh/id_rsa)
    • Or specify a custom path and filename
  3. Optionally set a passphrase when prompted

Output Files

The command generates two files:

FileDescription
id_rsaPrivate key (keep secure)
id_rsa.pubPublic key (for authentication)

Security Notice

Never share your private key! Your private key authenticates your identity with the dxflow engine. Only share the public key when setting up authentication.