Usage
This command displays the contents of the file flash:/ADMIN_DIR/ssh/authorized-keys.username.
Information
Related
ip ssh rsa-authentication (Config)
Commands
ssh
Open an SSH connection specifying the hostname, username, port number and version of the SSH
client.
FTOS supports both inbound and outbound SSH sessions using IPv4 addressing. Inbound SSH
supports accessing the system through the management interface as well as through a physical Layer 3
interface.
Syntax
ssh
Parameters
hostname
ipv4 address
-l username
-p port-number
-v
Defaults
As above.
Command Modes
EXEC Privilege
Command
Version 8.3.16.1
History
Example
Figure 29-13. ssh Command Example
FTOS#ssh 123.12.1.123 -l ashwani -p 5005 -v 2
{ hostname | ipv4 address } [ -l username | -p port-number | -v { 1 | 2 }]
(OPTIONAL) Enter the IP address or the hostname of the remote device.
(OPTIONAL) Enter the IP address in dotted decimal format A.B.C.D.
(OPTIONAL) Enter the keyword
session.
Default: The user name of the user associated with the terminal.
(OPTIONAL) Enter the keyword
Range: 1 to 65536
Default: 22
{
|
}
(OPTIONAL) Enter the keyword
1
2
Default: The version from the protocol negotiation
Introduced on MXL 10/40GbE Switch IO Module
Configures the RSA authorized keys.
-l
followed by the user name used in this SSH
-p
followed by the port number.
-v
followed by the SSH version 1 or 2.
Security | 565