ssh client user <username> authorized-key sshv2 "<public-key>"

Prev Next

Configures an SSHv2 authorized key for the specified user. The key is added to the list of authorized SSHv2 RSA public keys for the user account. An ID is associated with the key when the key is added.

Syntax

ssh client user <username> authorized-key sshv2 "<public key>"

no ssh client user <username> authorized-key sshv2 <public key ID>

Parameters

no

Use the no form of this command to remove the configured public key from the user account.

public-key

The public key string. The string must be enclosed by double quotation marks.

public key ID

The public key ID.

Examples

The following example configures an authorized key for the Operator02 user.

hostname (config) # ssh client user Operator02 authorized-key sshv2 "ssh-dsa AAAAB3NzaC1kc3MAAA..."

The following example removes the authorized key with the ID of 2 from the Monitor03 user.

hostname (config) # no ssh client user Monitor03 authorized-key sshv2 2

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