CLI Guide
-p port-number (OPTIONAL) Enter the keyword -p followed by the port number. The range is from 1 to
65536. The default is 22.
-v {1 | 2} (OPTIONAL) Enter the keyword -v then the SSH version 1 or 2. The default is the
version from the protocol negotiation.
Defaults As shown in the Parameters section.
Command Modes EXEC Privilege
Supported Modes All Modes
Command History
Version Description
9.10(0.0) Removed the support for hmac-sha2-256-96 algorithm.
9.9(0.0) Introduced on the FN IOM.
9.4(0.0) Supported on the FN I/O Aggregator.
Example
Dell#ssh 123.12.1.123 -l ashwani -p 5005 -v 2
ip ssh pub-key-le
Specify the le used for host-based authentication.
Syntax
ip ssh pub-key-file {WORD}
Parameters
WORD Enter the le name for the host-based authentication.
Defaults none
Command Modes CONFIGURATION
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
This command species the le used for the host-based authentication. The creates/ le overwrites the
flash://ADMIN_DIR/ssh/knownhosts le and deletes the user-specied le. Even though this command is
a global conguration command, it does not appear in the running conguration because you only need to run this
command once.
The le contains the OpenSSH-compatible public keys of the host for which host-based authentication is allowed.
An example known host le format:
poclab4,123.12.1.123 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAox/
QQp8xYhzOxn07yh4VGPAoUfgKoieTHO9G4sNV+ui+DWEc3cgYAcU5Lai1MU2ODrzhCwyDNp05tKBU3t
ReG1o8AxLi6+S4hyEMqHzkzBFNVqHzpQc
+Rs4p2urzV0F4pRKnaXdHf3Lk4D460HZRhhVrxqeNxPDpEn WIMPJi0ds= ashwani@poclab4
Security 1177