xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1164
Format
config ssh client_pubkey_owner key_id <int 1-8> [add | remove] user <username 15>
Parameters
key_id - Specifies the key ID that will be associated with the user account.
<int 1-8> - Enter the key ID used here. This value must be between 1 and 8.
add - Specifies to add an association between the key and the user account. When a public key
is associated with a user account, the public key can only be used by that user account. A
public key may be associated with more than one user account, and a user account may
associate with more than one public keys. A public key which has not been associated with
any user account can be used by all users.
remove - Specifies to remove the association between the key and the user account.
user - Specifies the user account that will be used for this configuration.
<username 15> - Enter the user account's user name here. This name can be up to 15
Restrictions
Only Administrator level can issue this command.
Example
This example shows how to associate a public key with the index of 1 to the user account named
“User1”:
DGS-3620-28PC:admin# config ssh client_pubkey_owner key_id 1 add user User1
Command: config ssh client_pubkey_owner key_id 1 add user User1
Success.
104-15 show ssh client_pub_key
Description
This command is used to display the client SSH public key.
Format
show ssh client_pub_key
Parameters
None.
Restrictions
None.