Vamos a configurar el acceso administrativo por SSH. Los pasos son:
- Crear el dominio
- Generar las claves
- Habilitar ssh en vty
SW3>en
SW3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW3(config)#
SW3(config)#
SW3(config)#user
SW3(config)#username melin secret cisco
SW3(config)#ip domain-name melin360
SW3(config)#crypto key generate rsa
The name for the keys will be: SW3.melin360
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.How many bits in the modulus [512]: 2048
% Generating 2048 bit RSA keys, keys will be non-exportable…[OK]SW3(config)#line vty 0 15
*mar 1 1:28:52.284: %SSH-5-ENABLED: SSH 1.99 has been enabled
SW3(config-line)#login local
SW3(config-line)#transport input ssh
SW3(config-line)#exit
SW3(config)#ip ssh version 2
SW3(config)#exit