--- title: "ssh client user <username> identity <key type> generate" slug: "ssh-client-user-username-identity-key-type-generate" tags: ["Reference", "CMS 11.x", "EX 11.x", "HX 10.x", "FX 11.x", "AX 11.x", "NX 11.x", "IVX 11.x", "Customer", "Network Security"] updated: 2026-08-04T17:22:36Z published: 2026-08-04T17:22:36Z canonical: "docs.trellix.com/ssh-client-user-username-identity-key-type-generate" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # ssh client user <username> identity <key type> generate Generates a new SSH-DSA2 or SSH-RSA2 identity for the specified user. The identity consists of a private key and a public key. The private key is written to the user's `.ssh` directory in a file named `id_dsa` or `id_rsa`. ### Syntax `ssh client user <username> identity <key type> generate` `no ssh client user <username> identity [<key type>]` ### Parameters `no` Use the `no` form of this command to remove the public and private keys for the specified user. Any private key file in a valid user `.ssh` directory is deleted. `username` The user name. `key type` The SSHv2 key type: - `dsa2`—SSH-DSA2 key - `rsa2`—SSH-RSA2 key ### Example The following example generates an SSH-DSA key for the admin03 user. ``` hostname (admin) # ssh client user admin03 identity dsa2 generate ``` ### User role Admin or Operator ### Supported appliances This command is supported on the following appliances running the specified releases or later: - **Malware Analysis:** Release 7.4.0 - **Central Management System:** Release 7.5.0 - **Email Security — Server:** Release 7.1.0 - **File Protect:** Release 7.5.0 - **Endpoint Security (HX):** Release 2.5.0 - **Network Security:** Release 7.5.0 - **Intelligent Virtual Execution - Server**: Release 7.9.0