01-14-2020 01:52 AM
I have enabled ssh but still I face this issue when trying to login.
I have generated key using #crypto key generate rsa usage-keys test.
And after this enabled SSH v2.
But still not able to login.
Here is the output for ##show run | i ssh
Tue Jan 14 09:40:43.714 UTC
Building configuration...
ssh
ssh server rate-limit 600
ssh server v2
ssh server netconf vrf default
Please help me resolve the issue. Not sure what I'm I missing here.
01-14-2020 06:24 AM - edited 01-14-2020 06:25 AM
check
show tcp brief | inc 22
make sure port 22 is listening
also check control plane to see that it is allowed via inband or out-of-band
control-plane
management-plane
out-of-band
interface all
allow SSH
!
!
Thanks!
01-14-2020 07:34 AM
You should also configure.
For OOB (thru MgmtEth0/RSP0/CPU0/0 or 1 ports):
control-plane
management-plane
out-of-band
interface MgmtEth0/RSP0/CPU0/0
allow SSH
!
For inband (thru your dataplane ports, linke Te 0/0/0/0):
control-plane
management-plane
inband
interface TenGigE0/0/0/0
allow SSH
!
For both, you can use both subsections (out-of-band and inband)
Please don't forget to generate certificate! Otherwise it won't work. Use this command from exec:
# crypto key generate rsa general-keys ssh-keys
HTH
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