cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7755
Views
25
Helpful
15
Replies

SSH Login not working.... HELP! (I'm probably being dumb)

CPynch
Level 1
Level 1

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.

 login prompt.jpg

 

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

15 Replies 15

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.