08-01-2022 08:33 AM
Hey all, I seem to be having a 'dumb' moment. A colleague configured a 2960X and didn't setup SSH on it.
I thought I did all the necessary steps, but I seem to be getting a login prompt I can't get past.
Building configuration...
Current configuration : 2722 bytes
!
! Last configuration change at 14:23:37 UTC Mon Aug 1 2022
! NVRAM config last updated at 14:13:36 UTC Mon Aug 1 2022
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname REDACTED
!
boot-start-marker
boot-end-marker
!
!
username cisco password 0 cisco
no aaa new-model
switch 1 provision ws-c2960x-24ts-l
!
!
no ip domain-lookup
ip domain-name REDACTED.com
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet1/0/26
!
interface GigabitEthernet1/0/27
!
interface GigabitEthernet1/0/28
!
interface Vlan1
ip address 192.168.0.19 255.255.255.0
!
ip default-gateway 192.168.0.1
ip http server
ip http secure-server
!
ip ssh version 2
!
!
!
!
line con 0
line vty 0 4
privilege level 15
password XXXXXX
login local
transport input ssh
line vty 5 15
privilege level 15
password XXXXXX
login local
transport input ssh
!
end
Solved! Go to Solution.
08-02-2022 07:12 AM
do fresh start but check if the SW/R have public key, if have delete it (notice delete the Public Key for only ssh not other public key),
if you have only 1 % that this will effect other service then
only add new public key (generate new key) and check.
PLEASE NOTIC the PUBLIC KEY IF YOU USE FOR OTHER PROTOCOL, DELELTE IT MAKE BIG ISSUE.
BE CAREFULL FREIND.
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