Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
host1# configure terminal
Step 12
Ensures that server authentication takes place.
ip ssh stricthostkeycheck
Step 13
Example:
host1(config)# ip ssh stricthostkeycheck
•
The connection is terminated in case of a failure.
•
Use
no hostname
command to return to the default host.
Starting an Encrypted Session with a Remote Device
The device with which you want to connect must support a Secure Shell (SSH) server that has an encryption
algorithm that is supported in Cisco software. Also, you need not enable your device. SSH can be run in
disabled mode.
Note
SUMMARY STEPS
1.
ssh
[
-v
{
1
|
2
} |
-c
{
aes128-ctr
|
aes192-ctr
|
aes256-ctr
|
aes128-cbc
|
3des
|
aes192-cbc
|
aes256-cbc
} |
-l user-id
|
-l user-id:vrf-name number ip-address ip-address
|
-l user-id:rotary number ip-address
|
-m
{
hmac-md5-128
|
hmac-md5-96
|
hmac-sha1-160
|
hmac-sha1-96
} |
-o numberofpasswordprompts
n
|
-p port-num
] {
ip-addr
|
hostname
} [
command
|
-vrf
]
DETAILED STEPS
Purpose
Command or Action
Starts an encrypted session with a
remote networking device.
ssh
[
-v
{
1
|
2
} |
-c
{
aes128-ctr
|
aes192-ctr
|
aes256-ctr
|
aes128-cbc
|
3des
|
aes192-cbc
|
aes256-cbc
} |
-l user-id
|
-l user-id:vrf-name number ip-address ip-address
|
-l
user-id:rotary number ip-address
|
-m
{
hmac-md5-128
|
hmac-md5-96
|
Step 1
hmac-sha1-160
|
hmac-sha1-96
} |
-o numberofpasswordprompts n
|
-p port-num
]
{
ip-addr
|
hostname
} [
command
|
-vrf
]
Example:
Device#
ssh -v 2 -c aes256-ctr -m hmac-sha1-96 -l user2 10.76.82.24
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1100
How to Configure Secure Shell Version 2 Support
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......