ssh client user <username> identity <key type> generate

Prev Next

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