Options

crypto key generate rsa error

BadFishBadFish Member Posts: 8 ■□□□□□□□□□
Good evening all,
I am working on a lab and am trying to configure ssh on a 2950 switch ios version 12.1(11).
I have created a local user and password however when I try and generate the rsa I get this error:
Cisco(config)#crypto key generate rsa
               ^
% Invalid input detected at '^' marker.

Cisco(config)#
any suggestions?

Comments

  • Options
    peanutnogginpeanutnoggin Member Posts: 1,096 ■■■□□□□□□□
    BadFish,

    What is the name of the image you're using? I would check the Cisco Feature Navigator to be sure that the IOS you're using supports the command. It appears that the IOS you're using doesn't. Perform a "show version" to determine your IOS. I hope this helps.

    V/r

    ~Peanut
    We cannot have a superior democracy with an inferior education system!

    -Mayor Cory Booker
  • Options
    mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    BadFish wrote: »
    2950 switch ios version 12.1(11)
    What's the actual image name from the show version command (assuming someone didn't rename it)?

    Is it the crypto image or the non-crypto image?
    :mike: Cisco Certifications -- Collect the Entire Set!
  • Options
    billscott92787billscott92787 Member Posts: 933
    Chances are the image doesn't support the crypto functions. I ran into this with my 1721 router and had the same issue until I figured out that version of my IOS didn't support it. For some reason they decided they wanted to load all my routers with the IP-base IOS.
  • Options
    veritas_libertasveritas_libertas Member Posts: 5,746 ■■■■■■■■■■
    As far as I know 2950s do not support SSH. On my last job we switched out all of our 2950s for newer switches in order to move completely to SSH.
  • Options
    XenzXenz Member Posts: 140
    Login to the Cisco website and grab a k image.
    Currently working on:
    CCNP, 70-620 Vista 70-290 Server 2003
    Packet Tracer activities and ramblings on my blog:
    http://www.sbntech.info
  • Options
    BadFishBadFish Member Posts: 8 ■□□□□□□□□□
    Xenz wrote: »
    Login to the Cisco website and grab a k image.


    Is there a way for me to get an image without having to pay for support? icon_confused.gif:
  • Options
    tierstentiersten Member Posts: 4,505
    BadFish wrote: »
    Is there a way for me to get an image without having to pay for support? icon_confused.gif:
    IOS images for basic switches like a 2950 are free to download without a SMARTnet contract. You just need to register a user on cisco.com.
Sign In or Register to comment.