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 torsa
.
Steps
- Execute the command with your desired key name (or use default)
- The system will generate an RSA key pair for dxflow authentication
Output Files
The command generates two files in your current directory:
File | Description |
---|---|
[NAME].pem | Private key (keep secure) |
[NAME].pub | Public 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
- Execute the command above, replacing
<your_email@example.com>
with your actual email - When prompted for file location:
- Press Enter to use default location (
~/.ssh/id_rsa
) - Or specify a custom path and filename
- Press Enter to use default location (
- Optionally set a passphrase when prompted
Output Files
The command generates two files:
File | Description |
---|---|
id_rsa | Private key (keep secure) |
id_rsa.pub | Public 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.