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)

Delete keys of the specified type.

-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"

See also

burusftp user key add

On this page