ssh client user <username> identity <key type> private-key ["<private key>"]

Prev Next

Manually enters a private key of the specified type for the specified user, instead of generating the key using the ssh client user <username> identity <key type> generate command.

Using this command also allows you to view the private key string in the appliance configuration.

Syntax

ssh client user <username> identity <key type> private-key ["<private key>"]

no ssh client user <username> identity [<key type>]

Parameters

no

Use the no form of this command to remove both the private and public 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.

private key

The private key string, enclosed by double quotation marks. If this parameter is omitted, the user will be prompted to enter the private key string and then enter it again to confirm it. For security, the characters are masked with asterisks as they are entered.

Example

The following example configures the private key for the admin05 user.

hostname (admin) # ssh client user admin05 identity rsa2 private-key
Key:******************
Confirm:******************

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