HP NonStop SSH Reference Manual
SSHCOM Command Reference
•
145
INFO HOST-KEY
The INFO HOST-KEY provides detailed information about the host key that is stored in the HOSTKEY file: name of
the hostkey file, type of key and the key’s fingerprints (bubble-babble and MD5).
The command has the following syntax:
INFO HOST-KEY
All users with SSHCOM access can execute this command.
Example:
% info host-key
info host-key
HOSTKEY-FILE HOSTKEY
TYPE ssh-dss
PUBLICKEY-FINGERPRINT
MD5: 23:42:77:e1:20:51:ff:55:e7:4c:7a:c8:71:30:06:93
BABBLE: xuseb-mofen-sisuh-zogun-cehuz-pomaz-vuzuf-tabup-lodoz-lured-ruxix
%
The MD5 fingerprint is logged at SSH2 process startup as well.
The fingerprint information can be used to configure a known host entry on a remote system.
EXPORT HOST-KEY
The EXPORT HOST-KEY command will export the public key part of the host key that is stored in the HOSTKEY file.
The command has the following syntax:
EXPORT HOST-KEY, FILE {<GUARDIAN-file-name> | "<OSS-file-name>" | <OSS-file-name> }
The individual attributes have the following meaning and syntax:
FILE {<GUARDIAN-file-name> | "<OSS-file-name>" | <OSS-file-name> }
The name of the Guardian or OSS file that will hold the exported key. A file created in the Guardian name
space will be a file with file code 180. If an OSS file name is specified that contains spaces (or commas), then
double quotes are required for the attribute value.
All users with SSHCOM access can execute this command.
Example:
% export host-key, file $temp.sshtemp.hostkey1
export host-key, file $temp.sshtemp.hostkey1
OK, written public part of host key to file $temp.sshtemp.hostkey1
%
The exported file can be used to configure a known host entry on a remote system.
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 ...