cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
898
Views
1
Helpful
16
Replies

enable ssh on switch but keep telnet until i can log in ssh

robertkwild
Spotlight
Spotlight

hi all,

i want to enable ssh on some switches but still keep telnet until i can login ssh and then i will disable telnet, is this a good how to to follow

https://networkproguide.com/how-to-enable-ssh-on-cisco-catalyst-switch-router/

but when it comes to step 9 i imagine i do this

transport input ssh telnet

and then i can log in ssh and if all good i can chage it back to

transport input ssh

is that correct?

16 Replies 16

robertkwild
Spotlight
Spotlight

when i do

crypto key generate rsa

is there a way to specify you want it 2048 on the same command?

robertkwild
Spotlight
Spotlight

ok ive changed to 2048 with one command but its not setting it

crypto key generate rsa modulus 2048
% You already have RSA keys defined named hostname.domain.com
% They will be replaced.

% The key modulus size is 2048 bits
% Generating 2048 bit RSA keys, keys will be non-exportable...
[OK] (elapsed time was 8 seconds)

do show ip ssh | i size
Minimum expected Diffie Hellman key size : 1024 bits

Review Cisco Networking for a $25 gift card