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?
JustInCaseConnect With a Mentor Commented:
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
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 ?
The IT Degree for Career Advancement

Earn your B.S. in Network Operations and Security and become a network and IT security expert. This WGU degree program curriculum was designed with tech-savvy, self-motivated students in mind – allowing you to use your technical expertise, to address real-world business problems.

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.
Puneesh ChhabraConnect With a Mentor Commented:
The command is :

show crypto key mypubkey rsa
Jung TorresAuthor Commented:
Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.