Product specifications
2 – Switch Command Line Interface
Groups and Commands
2-18 D000025-002 Rev. A
S
Options:
Sample Output:
sshKey
Syntax:
Options:
Sample Output:
NOTES: Adds, displays, and removes SSH public keys for individual users. Users
with administrative privileges may use the -u option to manage keys for other users.
None.
-> userListShow
username role
operator1 operator
USERID admin
Bob admin
sshKey <cmd> [-u <username>] [<input>]
show
Displays the SSH public keys in the users authorized_keys file.
add “<key>”
Add key to the users authorized_keys file. Must be enclosed within double-quotes
("<key>").
rem <index>
Remove key at <index> for the user.
rem -all
Remove all keys for the usern.
-u <username>
Perform the operation on the user <username> (for admins only).
-> sshKey show
Index Key
-----------------------------------
1 "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArNiSexu30rZjs1HAXbDBwTgJgcxLF..."