cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
548
Views
0
Helpful
4
Replies

SSH to cisco router

rasoftware
Level 1
Level 1

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

!

1 Accepted Solution

Accepted Solutions

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

View solution in original post

4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

You are correct. You either need a local username/password or use a AAA server as you cannot use ssh with the line password.

See this doc for detailed steps in setting up config for authentication.

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

Jon

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?

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

Ah - I missed off the #aaa new-model

Many thanks for the pointer!

Rob

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: