Cisco : How can I tell if SSH and cypto key is enabled on cisco when I do show run ?

How can I tell if SSH and cypto key is enabled on cisco when I do show run ?
Jung TorresAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Istvan KalmarHead of IT Security Division Commented:
Hi Torres

Show run | inc ssh 

Open in new window

, and
Show run | inc crypto key

Open in new window

tells you that ssh enabled on the router/switch
Jung TorresAuthor Commented:
When I do Show run | inc ssh  
   result came up with " Transport input ssh"

When I do Show run | inc crypto key
   result came up with blank

Does this mean my SSH access to switch is not secure and encrypted ?
Hemil AquinoNetwork EngineerCommented:
This is what you should see

NYC-FW#show running-config  | inc ssh
ip ssh version 2

If you dont see that, means you dont have enable ssh.

First thing you need to do it's give a name to your router
Like this one NYC-FW#

Next step will be configure a domain name to generate a key
Ip domain-name

Next step Create a crytop key
crypto key generate rsa 2048

After doing so ssh will be enable and active to be configured.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Crypto key does not need to be present in running configuration (on newer IOS versions typically is not present in running config).

show crypto key mypubkey all

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Puneesh ChhabraCommented:
The command is :

show crypto key mypubkey rsa
Jung TorresAuthor Commented:
Thank you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.