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
0
 
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
1
 
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 ?
0
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 Cisco.com

Next step Create a crytop key
crypto key generate rsa 2048

After doing so ssh will be enable and active to be configured.
0
 
Puneesh ChhabraConnect With a Mentor Commented:
The command is :

show crypto key mypubkey rsa
0
 
Jung TorresAuthor Commented:
Thank you
0
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.