True Scale Fabric Switches 12000 Series CLI
July 2015
Reference Guide
Order Number: G91931004US
21
12000 Series CLI
2.5.1.24
sshKey
Adds, displays, and removes SSH public keys for individual users..
Syntax
sshKey <cmd> [-u <user name>] [<input>]
Options
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 <user name>
– Perform the operation on the user <user name> (for admins
only).
Sample Output
-> sshKey show
Index Key
-----------------------------------
1 "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArNiSexu30rZjs1HAXbDBwTgJgcxLF..."
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.
2.5.1.25
loginMode
Allows the user to change the user interface authentication requirements.
Syntax
loginMode [mode]
Options
[mode]
– Determines how users are able to login.
Sample Output
-> sshKey show
Index Key
-----------------------------------
1 "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArNiSexu30rZjs1HAXbDBwTgJgcxLF..."