07-12-2016 10:04 AM - edited 03-08-2019 06:36 AM
Hello,
I created a simple config file, listed below, and tried to copy and paste this config on a 2960-8Port switch. After pasting this file, I receive as error message when I issue this command "show ip ssh SSH Disabled - version 1.99 % Please create RSA Keys to enable SSH (of at least 768 bits size) to enable SSH v2. Authentication timeout: 120 secs; Authentication retries: 3"
I can't figure out why ssh v2 won't enable. I've tried it on several boxes/switches but I still receive the same error message.
Any idea as why this happens.
Thanks in advance.
Best, ~zK
no service pad
no service password-encryption
hostname Sales-SW-ACC2
ip domain name my.company.come
boot-start-marker
boot-end-marker
enable secret 5 xoadou435o4nadgaet!%Aou2
no aaa-new-model
ip dhcp pool 10.0.0.0
network 10.0.0.0 255.255.255.0
lease 0 0 10
service dhcp
spanning-tree mode past
spanning-tree pordtfast default
spanning-tree extend system-id
vlan internal allocation policy ascending
crypto key generate rsa generate-keys modulus 1024
interface GigabitEthernet0/1
interface GigabitEthernet0/2
interface GigabitEthernet0/3
interface GigabitEthernet0/4
interface GigabitEthernet0/5
interface GigabitEthernet0/6
interface vlan1
ip address 10.0.0.1 255.255.255.0
ip sea enabled reaction-alerts
ip dhcp excluded-address 10.0.0.1 10.0.0.10
line console 0
line vey 0 4
privilege level 15
transport input telnet
line vty 5 15
no login
end
Solved! Go to Solution.
07-12-2016 02:15 PM
When you issue a "show inventory" command, what is the exact model of switch reported?
08-08-2023 01:47 PM
My solution that actually worked was
crypto key generate rsa general-keys modulus 4096 label SSH
08-08-2023 01:03 PM
I had the same issue I even tried using
Crypto key generate rsa usage-key 2048 label SSH. I am still getting the same error that says Please create RSA Keys to enable SSH (of at least 768 bits size) to enable SSH v2.
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