04-10-2019 07:53 AM
i have setup a new cisco 2960-x switch but having some trouble setting up ssh access.
when i try and connect using putty it asks for username and password but keeps saying access denied every time.
i must not be linking my username to the ssh login correctly.
its just a local account
can anyone help me sort this out?
currently i can only login using console cable .
04-10-2019 08:10 AM
04-10-2019 10:16 AM
04-10-2019 11:27 AM
here is test config : ( change domain and user name as per requirement)
#conf t
ip domain-name bbandi.com
crypto key generate rsa
2048
ip ssh version 2
line vty 0 4
transport input ssh
login local
username bbandi bbandi
if still issue can you post show version also.
04-10-2019 12:22 PM
04-10-2019 04:10 PM
Hello
Just like to add - Try removing rsa key and recreating ssh using ver 2 then test again
conf t
crypto key zerosize
crypto key generate rsa label SSH general-keys modulus 2048
ip ssh ver 2
ip ssh source-interface xxxxx
(note: using label no need to define an ip domain name)
04-10-2019 10:59 PM
Hi,
I agree with @paul driver and @Mark Malone Just reset the Certificate and enable SSH again:
Also, try with SSH version 2 then try as:
ip ssh version 2
Currently, you are working over the default version of SSH.
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