burusftp user key delete

Delete public keys from a user. Keys can be filtered by type, fingerprint, comment, or matched against a file.

Synopsis

burusftp user key delete [options]

Options

-c, --comment <comment>

Delete keys with a specific comment. Use -c "" to match keys with no comment.

-f, --force

Allow deletion across multiple users or when multiple keys match.

-F, --fingerprint <fingerprint>

Delete keys matching a SHA-256 base-64 fingerprint (full or prefix).

-i, --file <path>

Delete keys that match key(s) in the specified file.

-t, --type (rsa | dsa | ed25519 | ecdsa | ecdsa-p256 | ecdsa-p384 | ecdsa-p521 | mldsa44 | mldsa65 | mldsa87 | mldsa44-ed25519 | mldsa87-p384)

Delete keys of the specified type. ecdsa matches ECDSA keys with any curve.

-u, --username <username>

Username. When omitted, the command operates across all users (requires -f).

Examples

# Delete all keys for all users
burusftp user key delete -f

# Delete all DSA keys for all users
burusftp user key delete -ft dsa

# Delete key by fingerprint for a specific user
burusftp user key delete -u elaine -F "UVD1EIKY1p"

Changelog

Since version 2.22.0.
  • Added the ecdsa-p256, ecdsa-p384, ecdsa-p521, mldsa44, mldsa65, mldsa87, mldsa44-ed25519 and mldsa87-p384 key types.
  • ecdsa256, ecdsa384 and ecdsa521 have been replaced by ecdsa-p256, ecdsa-p384 and ecdsa-p521.

See also

burusftp user key add

On this page