- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2019 11:15 AM - edited 03-03-2019 08:59 AM
Question:
For some reason, I am login through the web interface for our Cisco 2960X, and I got "Access denied" when I used Putty to SSH the Cisco 2960x. Any Sugguestion that what can do at the moment? Thank you!
Solved! Go to Solution.
- Labels:
-
Other Networking
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2019 12:56 PM
Hi there,
Sounds like your vty config is using a different authentication method to your http-server.
Can you share the running-config of the switch?
cheers,
Seb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2019 12:59 PM
the reason you can get the web interface is because by default http is on.
in order for you to get the ssh in to a cisco 2960X.
!
hostname SW
!
ip domain-name xxxxx.com (whatever your organistaion domain put it here)
!
crypto key gen rsa label switch2960 module 1024
!
ip ssh version 2
!
username admin password cisco
!
line vty 0 10
transport input ssh
login local
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2019 12:56 PM
Hi there,
Sounds like your vty config is using a different authentication method to your http-server.
Can you share the running-config of the switch?
cheers,
Seb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2019 02:28 PM
At the moment, I only can access with Telnet to the SW. And I'm not Network person. How can I get the running config with Telnet?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2019 12:59 PM
the reason you can get the web interface is because by default http is on.
in order for you to get the ssh in to a cisco 2960X.
!
hostname SW
!
ip domain-name xxxxx.com (whatever your organistaion domain put it here)
!
crypto key gen rsa label switch2960 module 1024
!
ip ssh version 2
!
username admin password cisco
!
line vty 0 10
transport input ssh
login local
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2019 02:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2019 02:37 PM
ip domain-name xxxxx.com (whatever your organistaion domain put it here)
!
crypto key gen rsa label switch2960 module 1024
!
ip ssh version 2
!
username admin password cisco
!
line vty 0 10
transport input telnet ssh
login local
now as you have access to box via telnet if you apply the above config you will have acess to the box also with telnet and with ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2019 06:46 AM
