Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SSH to cisco router

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
Hall of Fame Super Blue

Re: SSH to cisco router

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

4 REPLIES
Hall of Fame Super Blue

Re: SSH to cisco router

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

New Member

Re: SSH to cisco router

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?

Hall of Fame Super Blue

Re: SSH to cisco router

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

New Member

Re: SSH to cisco router

Ah - I missed off the #aaa new-model

Many thanks for the pointer!

Rob

335
Views
0
Helpful
4
Replies