Ecco come abilitare, l’ssh sugli apparati con cisco con IOS

Prima fase configurare un dominio, e generare i certificati, al fine di incrementare la sicurezza consiglio di usare almeno la chiave 768 Bit che permette l’uso di SSH v2

 route_01_no#conf t
 Enter configuration commands, one per line. End with CNTL/Z.
 route_01_no(config)#ip domain-name stars.deepreflect.net
 route_01_no(config)#cry key generate rsa

 The name for the keys will be: route_01_no.stars.deepreflect.net
 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]: 768
 % Generating 768 bit RSA keys, keys will be non-exportable...[OK]

La seconda fase e’ abilitare il protocollo SSH v2 e abilitare le line vty all’accesso:

 route_01_no(config)#ip ssh version 2
 route_01_no(config)#line vty 0 4
 route_01_no(config-line)# transport input telnet ssh
 route_01_no(config-line)#
 route_01_no(config)#end
 route_01_no#