Purpose
Command or Action
startup-config
Invoking an SSH Client
Perform this task to invoke the Secure Shell (SSH) client. The SSH client runs in user EXEC mode and has
no specific configuration tasks.
SUMMARY STEPS
1.
enable
2.
ssh -l username -vrf vrf-name ip-address
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Invokes the SSH client to connect to an IP host or address in
the specified virtual routing and forwarding (VRF) instance.
ssh -l username -vrf vrf-name ip-address
Example:
Device# ssh -l user1 -vrf vrf1 192.0.2.1
Step 2
Troubleshooting Tips
•
If your Secure Shell (SSH) configuration commands are rejected as illegal commands, you have not
successfully generated an Rivest, Shamir, and Adleman (RSA) key pair for your device. Make sure that
you have specified a hostname and domain. Then use the
crypto key generate rsa
command to generate
an RSA key pair and enable the SSH server.
•
When configuring the RSA key pair, you might encounter the following error messages:
•
No hostname specified.
You must configure a hostname for the device using the
hostname
global configuration command.
•
No domain specified.
You must configure a host domain for the device using the
ip domain-name
global configuration
command.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1077
How to Configure Secure Shell
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: ......