Display public keys
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The security login publickey show command displays information about public keys.
Parameters
- { [-fields <fieldname>, ...]
- If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
- | [-instance ]}
- If you specify the -instance parameter, the command displays detailed information about all fields.
- [-vserver <Vserver Name>] - Vserver
- Selects the public keys that match this parameter value.
- [-username <text>] - Username
- Selects the public keys that match this parameter value.
- [-index <integer>] - Index
- Selects the public keys that match this parameter value.
- [-publickey <certificate>] - Public Key
- Selects the public keys that match this parameter value.
- [-fingerprint <text>] - Hex Fingerprint
- Selects the public keys that match this parameter value.
- [-bubblebabble <text>] - Bubblebabble Fingerprint
- Selects the public keys that match this parameter value.
- [-comment <text>] - Comment
- Selects the public keys that match this parameter value.
Examples
The example below displays public key information for the user named tsmith.
cluster1::> security login publickey show -username tsmith
UserName: tsmith Index: 5
Public Key:
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAspH64CYbUsDQCdW22JnK6J
/vU9upnKzd2zAk9C1f7YaWRUAFNs2Qe5lUmQ3ldi8AD0Vfbr5T6HZPCixNAIza
FciDy7hgnmdj9eNGedGr/JNrftQbLD1hZybX+72DpQB0tYWBhe6eDJ1oPLob
ZBGfMlPXh8VjeU44i7W4+s0hG0E=tsmith@publickey.example.com
Fingerprint:
07:b4:27:52:ce:7f:35:81:5a:f2:07:cf:c1:87:91:97
Bubblebabble fingerprint:
xuzom-nelug-bisih-nihyr-metig-kemal-puhut-somyd-mumuh-zomis-syxex
Comment:
This is a new key