SSH to cisco router

Answered Question
Apr 29th, 2008

I am trying to SSH to a router i have setup but is asks for a username and passwordn unlike telnet. I have read somewhere it doesn't use the line password as telnet does.

Not sure what i'm missing -

line con 0

login local

no modem enable

line aux 0

line vty 0 4

privilege level 15

password xxx

login

transport input telnet ssh

!

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 8 years 8 months ago

Have you looked at this specific part of the doc regarding setting up authentication on your router

http://www.cisco.com/en/US/tech/tk583/tk617/technologies_tech_note09186a00800949e2.shtml#testingauthentication

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
rasoftware Tue, 04/29/2008 - 03:10

Hi, thanks for the reply.

I current have two local users account but neither works when I get the "login as" prompt when I ssh from putty.

quit

username test1 privilege 15 secret 5 $1$X95I$L/M37ere8R6eK9/6jHeXS.

username test32 privilege 15 secret 5 $1$vyUH$bxviCeerlr0OrOb8Jn5db.1

!

!

Is there something else that needs setting?

rasoftware Tue, 04/29/2008 - 03:15

Ah - I missed off the #aaa new-model

Many thanks for the pointer!

Rob

Actions

This Discussion