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.
C-Series, E-Series, S-Series, Z-Series, S4810
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 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version
6.1.1.0
Introduced on the E-Series.
Example
FTOS#conf
FTOS(conf)# ip ssh rhostsfile flash://shosts
FTOS(conf)#
Usage
Information
This command specifies the rhost file to be used for host-based authentication. This
creates/ file overwrites the flash:/ADMIN_DIR/ssh/shosts 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.
This file contains hostnames and usernames, for which hosts and users, rhost-authentication
can be allowed.
NOTE: For rhostfile and pub-key-file, the administrator must FTP the file to the
switch.
1330