cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
23427
Views
10
Helpful
4
Replies
harishpant871
Beginner

SSH Access Denied while accessing Router

while accessing 2810 router using ssh from putty using windows 8.1.

after giving username at login as option, when it ask for password for user, I am entering the correct password but it is giving access denied. 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Julio E. Moisa
VIP Mentor

Hi

It could be a problem with privileges.

Have You enabled the telnet to login to the device or console? try with:

username cisco privile 15 pass Cisco1

Also try this command and configure the key again

crypto key zeroize rsa

crypto key generate rsa (enter and type 1024)

no aaa new-model

line vty 0 15
transport input ssh
login local




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

You are welcome,

Please change the version to 2

ip ssh version 2

also include these command lines:

no aaa new-model

line vty 0 15
transport input ssh
login local




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

4 REPLIES 4
Julio E. Moisa
VIP Mentor

Hi

It could be a problem with privileges.

Have You enabled the telnet to login to the device or console? try with:

username cisco privile 15 pass Cisco1

Also try this command and configure the key again

crypto key zeroize rsa

crypto key generate rsa (enter and type 1024)

no aaa new-model

line vty 0 15
transport input ssh
login local




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hi Julio,

Firstly thank u for ur reply.

I have enabled ssh with privileged level 15 already for the user.

here m sharing what I did exactly.

after setting the hostname and domain-name, I created a user with privileged level 15.

crypto key generate rsa then

line vty 0 4

transport input ssh

but while accessing, its giving denied after entering the password.

You are welcome,

Please change the version to 2

ip ssh version 2

also include these command lines:

no aaa new-model

line vty 0 15
transport input ssh
login local




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Thank you so much Julio.

Its Done :)