Command Line Reference Guide
Parameters
WORD
Enter the file name for the host-based authentication.
Defaults none
Command Modes CONFIGURATION
Command History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
This command specifies the file to be used for the host-based authentication. The creates/
file overwrites the flash://ADMIN_DIR/ssh/knownhosts file and deletes the user-
specified file. Even though this is a global configuration command, it does not appear in the
running configuration because this command needs to be run just once.
The file contains the OpenSSH-compatible public keys of the host for which host-based
authentication is allowed. An example known host file format:
poclab4,123.12.1.123 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAox/
QQp8xYhzOxn07yh4VGPAoUfgKoieTHO9G4sNV+ui
+DWEc3cgYAcU5Lai1MU2ODrzhCwyDNp05tKBU3t
ReG1o8AxLi6+S4hyEMqHzkzBFNVqHzpQc
+Rs4p2urzV0F4pRKnaXdHf3Lk4D460HZRhhVrxqeNxPDpEn WIMPJi0ds=
ashwani@poclab4
NOTE: For rhostfile and pub-key-file, the administrator must FTP the file to the
chassis.
Example
FTOS#conf
FTOS(conf)# ip ssh pub-key-file flash://knownhosts
FTOS(conf)#
Related
Commands
show ip ssh client-pub-keys – displays the client-public keys used for the host-based
authentication.
ip ssh rhostsfile
Specify the rhost file to be used for host-based authorization.
S5000
Syntax
ip ssh rhostsfile {WORD}
Parameters
WORD
Enter the rhost file name for the host-based authentication.
Defaults none
Command Modes CONFIGURATION
Command History
Version 9.0(1.3) Introduced on the S5000.
1161