setssh(8)
System Administration 217
EXAMPLE 11 Registers the user public key by specifying the user name. Finish the input
of public key by pressing Enter and then pressing Ctrl+D.
EXAMPLE 12 Specifies the public key number to delete the user public key.
EXAMPLE 13 Deletes all user public keys.
EXIT STATUS The following exit values are returned:
SEE ALSO showssh(8)
XSCF> setssh -c addpubkey -u efgh
Please input a public key:
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAzFh95SohrDgpnN7zFCJCVNy+jaZPTjNDxcid
QGbihYDCBttI4151Y0Sv85FJwDpSNHNKoVLMYLjtBmUMPbGgGVB61qskSv/
FeV44hefNCZMiXGItIIpK
P0nBK4XJpCFoFbPXNUHDw1rTD9icD5U/wRFGSRRxFI+Ub5oLRxN8+A8=abcd@example.com
[Enter]
[Ctrl+D]
XSCF> setssh -c delpubkey -s 1
1 ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAzFh95SohrDgpnN7zFCJCVNy+jaZPTjNDxcid
QGbihYDCBttI4151Y0Sv85FJwDpSNHNKoVLMYLjtBmUMPbGgGVB61qskSv/
FeV44hefNCZMiXGItIIpK
P0nBK4XJpCFoFbPXNUHDw1rTD9icD5U/wRFGSRRxFI+Ub5oLRxN8+A8=abcd@example.com
XSCF>
setssh -c delpubkey -a
0 Successful completion.
>0 An error occurred.