01-18-2018 04:48 AM - edited 03-08-2019 01:28 PM
Hi all,
I have my switches / routers that I cant access via ssh, if I go via telnet I dont have any issue.
I created a new ip domain-name , a new rsa and still the same. I created a new rsa but still the same issue.
show ip ssh
SSH Disabled - version 2.0
%Please create RSA keys to enable SSH (and of atleast 768 bits for SSH v2).
Authentication timeout: 120 secs; Authentication retries: 3
Minimum expected Diffie Hellman key size : 1024 bits
IOS Keys in SECSH format(ssh-rsa, base64 encoded): NONE
Thanks.
01-18-2018 05:00 AM
01-18-2018 05:32 AM
01-18-2018 05:42 AM
Hello,
Did that and still the same issue.
Thanks.
01-18-2018 05:45 AM
01-18-2018 05:46 AM
01-18-2018 07:15 AM
Please post the output of show version. In particular we are looking to see if the image file you are running has k9 in the image name. If k9 is present then it is a crypto enabled image and we need to look for other reasons why SSH does not work. If k9 is not present then it is not a crypto enabled image and SSH will not work until you load a crypto enabled image.
HTH
Rick
01-18-2018 07:55 AM
01-18-2018 05:42 AM
Hello,
In general you should issue this minimum of commands to make SSH work on a Cisco switch or router:
conf t
ip domain-name %DOMAIN_NAME%
enable secret 0 %SECRET_PASSWORD%
service password-encryption
aaa new-model
aaa authorization login default local
username %USERNAME% password %PASSWORD%
crypto key generate rsa general-keys modulus 2048
ip ssh version 2
line vty 0 15
transport input ssh
exit
exit
Bold items should be user-defined (so you define them, not just blindly copy and paste this config) :)
01-18-2018 12:33 PM
Hi,
try to do:
crypto key generate ras modulus 1024
Best regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide