![HP NonStop SSH 544701-014 Reference Manual Download Page 169](http://html.mh-extra.com/html/hp/nonstop-ssh-544701-014/nonstop-ssh-544701-014_reference-manual_165151169.webp)
HP NonStop SSH Reference Manual
SSHCOM Command Reference
•
169
Client Mode Commands Operating on the KEY
Entity
ALTER KEY
The ALTER KEY command changes one or more attributes of an existing user private key and has the following syntax:
ALTER KEY [<system-user-name>:]<key-name>
[, COMMENT "<comment>"]
[, LIVE-DATE <date-time>]
[, EXPIRE-DATE <date-time>]
The individual attributes have the following meaning and syntax:
<system-user-name>
This refers to a valid GUARDIAN user who owns the key in the SSH key store. If <system-user-name> is omitted, either
the user being set in a previously issued ASSUME USER command or the issuer of the ALTER KEY command will be
used as the default. If <system-user-name> is specified, it MUST be followed by a ':' to separate it from the key name.
<key-name>
This refers to the name of the key owned by the current user. The key name cannot be altered.
<date time>
Date or date and time in either of the following formats:
•
DD Mon YYYY hh:mm
•
"DDMonYY,hh:mm"
•
DD Mon YYYY
•
DDMonYY
The second format requires surrounding quotes because it contains a comma (commas are separators in SSHCOM).
COMMENT
This optional attribute is used to associate additional textual information with the key.
LIVE-DATE
This optional attribute is used to set the LIVE-DATE (not-valid-before date) for the key. This attribute can only be set if
the life-cycle policy for User Private Keys is enabled (determined by SSH2 parameter
LIFECYCLEPOLICYPRIVATEUSERKEY). If SSH2 parameter LIFECYCLEPOLICYPRIVATEUSERKEY is set to
FIXED, then field LIVE-DATE can be modified by the SUPER.SUPER user only (unless explicitly denied in
OBJECTTYPE USER record) or those configured with full SSHCOM access. In case the SSH2 parameter
LIFECYCLEPOLICYPRIVATEUSERKEY is set to VARIABLE, then every user can change field LIVE-DATE for
those keys the user owns.
EXPIRE-DATE
This optional attribute is used to set the EXPIRE-DATE (not-valid-after date) for the key. This attribute can only be set
if the life-cycle policy for User Private Keys is enabled (determined by SSH2 parameter
LIFECYCLEPOLICYPRIVATEUSERKEY). If SSH2 parameter LIFECYCLEPOLICYPRIVATEUSERKEY is set to
FIXED, then field EXPIRE-DATE can be modified by the SUPER.SUPER user only (unless explicitly denied in
OBJECTTYPE USER record) or those configured with full SSHCOM access. In case the SSH2 parameter
LIFECYCLEPOLICYPRIVATEUSERKEY is set to VARIABLE, then every user can change field EXPIRE-DATE for
those keys the user owns.
Summary of Contents for NonStop SSH 544701-014
Page 12: ...xii Contents HP NonStop SSH Reference Manual ...
Page 24: ...24 Preface HP NonStop SSH Reference Manual ...
Page 30: ...30 Introduction HP NonStop SSH Reference Manual ...
Page 46: ...46 Installation Quick Start HP NonStop SSH Reference Manual ...
Page 132: ...132 The SSH User Database HP NonStop SSH Reference Manual ...
Page 214: ...214 SSH and SFTP Client Reference HP NonStop SSH Reference Manual ...
Page 278: ...278 STN Reference HP NonStop SSH Reference Manual ...
Page 298: ...298 Monitoring and Auditing HP NonStop SSH Reference Manual ...
Page 302: ...302 Performance Considerations HP NonStop SSH Reference Manual ...