SSH Reference Manual
EXPORT SSHCTL 
The EXPORT SSHCTL command will export the content of the SSH User Database into as many as six text files. All 
attributes of the various objects are written in the CSV (comma-separated value) format. 
The command has the following syntax: 
EXPORT SSHCTL, SUBVOL <subvolume> [, WIDTH <width>] 
The individual attributes have the following meaning and syntax: 
SUBVOL <subvolume> 
The files are stored in a subvolume specified by the SUBVOL attribute. 
Starting with SPR T0801^ABE, an OSS directory may be specified. If a Guardian subvolume is specified, then 
Guardian edit files are created and long lines will be wrapped. Files exported to a directory will not be wrapped 
unless option WIDTH is specified. Specifying OSS paths referring to a Guardian namespace like 
/G/system/ssh2exp leads to code 180 files and no wrapping occurs (if WIDTH is not specified). The volume 
must be a physical disk in this case. 
WIDTH <width> 
Defines the maximum number of characters per output line. If WIDTH is specified the end of a wrapped line is 
marked by "\" as the last character on the line. 
Only users with SUPER.SUPER privileges (unless explicitly denied in OBJECTTYPE USER record) or those 
configured with full SSHCOM access are allowed to perform the EXPORT SSHCTL function. The following export 
files are generated: 
File  Description 
USER  USER object data 
USERPUBK  All public keys of all users 
PRIVKEY  KEY object data 
KNWNHOST  KNOWNHOST object data 
RESTRICT  RESTRICTION-PROFILE object data 
%export sshctl, subvol $data1.sshexp 
OK, all SSHCTL exported to files on $data1.sshexp 
% 
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, size 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 
 BITS 1024 
 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 
% 
166 • SSHCOM Command Reference  HP NonStop SSH Reference Manual 










