PurposeCommand 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
PurposeCommand 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