Generate a new SSH key pair with the specified algorithm. The private key is encrypted and stored server-side. It is never returned to the caller. Only the public key and fingerprint are returned.
Supported algorithms: ed25519, rsa-2048, rsa-4096, ecdsa-256, ecdsa-384, ecdsa-521
Documentation Index
Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt
Use this file to discover all available pages before exploring further.
JWT authentication token
Unique name for this SSH key (letters, digits, underscores, hyphens, dots only)
1 - 128^[A-Za-z0-9][A-Za-z0-9_.-]*$Key generation algorithm. Required for generated-key auth. Mutually exclusive with password and private_key.
ed25519, rsa-2048, rsa-4096, ecdsa-256, ecdsa-384, ecdsa-521 Default SSH host for connections using this key
255Default SSH port (defaults to 22)
1 <= x <= 65535Default SSH username for connections using this key
128SSH password for password-based auth. Mutually exclusive with algorithm and private_key. Encrypted at rest.
1 - 1000Existing OpenSSH/PEM private key to import. Mutually exclusive with algorithm and password. Encrypted at rest.
1 - 20000Optional passphrase for private_key. Used only during import.
1000Optional project ID for project-scoped key
SSH key pair generated successfully
ed25519, rsa-2048, rsa-4096, ecdsa-256, ecdsa-384, ecdsa-521, password Authentication type (key = generated key pair, password = password-based)
key, password SHA256 fingerprint of the public key (null for password auth)
OpenSSH authorized_keys format public key (null for password auth)