Configure SSH access for secure remote management of your Cisco switch.
Step 1: Set hostname and domain name SSH requires a hostname and domain name to generate the RSA key pair.
|
|
Step 2: Create local user account Set up a local user with privilege level 15 for full administrative access.
|
|
Step 3: Generate RSA encryption keys Create the cryptographic keys needed for SSH. Use at least 1024 bits for security.
|
|
Step 4: Configure VTY lines for SSH Set the virtual terminal lines to accept only SSH connections and use local authentication.
|
|
Step 5: Enable SSH version 2 and set timeout Configure SSH version 2 for better security and set connection parameters.
|
|
Step 6: Configure management IP address Assign an IP address to a VLAN interface for SSH connectivity.
|
|
Step 7: Verify SSH configuration
|
|
Key Points:
- SSH requires both hostname and domain-name to be configured
- RSA key size of 1024 bits minimum, 2048 recommended for security
transport input sshblocks Telnet access completely- Save configuration with
copy running-config startup-configafter testing - Test SSH access before disconnecting console cable