4-21
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter 4
Configuring System Management Functions
Configuring Secure Shell
Cat8540(config)#
ip ssh version 2
Cat8540(config)#
To start SSH client functionality on the ATM switch router, perform the following step:
Note
You can run the SSH client configuration from any EXEC configuration level.
Example
The following example shows the SSH client using aes128-cbc cipher and hmac-md5-96 HMAC
algorithm to initiate a secure remote command connection with the Router2 router. The SSH server
running on Router2 authenticates the session for the admin7 user on the Router2 router using standard
authentication methods and returns the result of the
show ip route
command to the local switch router.
Note
The Router2 router must have SSH enabled for this to work.
Cat8540#
ssh -l admin7 -v 2 -m hmac-md5-128 -c aes128-cbc -o numberofpasswordprompts 4
Router2 "show ip route"
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
.
[Information Deleted]
.
Cat8540#
Command
Purpose
Switch#
ssh
[
-l
userid
]
[
-v
ssh_client_version_number
]
[
-m
hmac_algorithm_type
] [
-c
{
des
|
3des
|
aes128-cbc
|
aes192-cbc
|
aes256-cbc
}]
[
-o
numberofpasswdprompts
number
]
[
-p
portnumber
] {
ip_address
|
hostname
}
[
command
(
command
(
command
...))
1
]
1.
(Optional) Specifies the Cisco IOS command that you want to run on the remote networking device. If the remote host is not
running Cisco IOS software, this may be any command recognized by the remote host. If the command includes spaces, you
must enclose the command in quotation marks.
Starts the SSH client.