SSH access to c7200

Unanswered Question

Sorry for my bad English

I have following issue:

I have configured ssh server on c7200 appling following commands:

hostname R0

ip domain name cisco.com

username valera password 0 cisco

crypto key generate rsa

line vty 0 4

login

transport input ssh

and I try to establish ssh session with putty terminal. But I can to accsess to router. terminal ask me to enter login and password and give output access denied.

The output debug ip ssh:

Mar 1 00:07:50.010: SSH0: starting SSH control process

*Mar 1 00:07:50.014: SSH0: sent protocol version id SSH-1.5-Cisco-1.25

*Mar 1 00:07:50.094: SSH0: protocol version id is - SSH-1.5-PuTTY_Release_0.60

*Mar 1 00:07:50.114: SSH0: SSH_SMSG_PUBLIC_KEY msg

*Mar 1 00:07:50.202: SSH0: SSH_CMSG_SESSION_KEY msg - length 144, type 0x03

*Mar 1 00:07:50.202: SSH: RSA decrypt started

*Mar 1 00:07:50.383: SSH: RSA decrypt finished

*Mar 1 00:07:50.383: SSH: RSA decrypt started

*Mar 1 00:07:50.539: SSH: RSA decrypt finished

*Mar 1 00:07:50.547: SSH0: sending encryption confirmation

*Mar 1 00:07:50.551: SSH0: keys exchanged and encryption on

R0#

*Mar 1 00:07:54.505: SSH0: Installing crc compensation attack detector.

*Mar 1 00:07:54.509: SSH0: SSH_CMSG_USER message received

*Mar 1 00:07:54.509: SSH0: authentication request for userid valera

*Mar 1 00:07:54.513: SSH0: invalid old access type configured - 0x01

*Mar 1 00:07:54.513: SSH0: SSH_SMSG_FAILURE message sent

Can you help me?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
adamclarkuk_2 Thu, 11/12/2009 - 01:24

Hi

Are you using aaa for your authentication and wanting to authenticate locally, if so, change the login statement on your vty to be

login authentication

an example would using the default group would be:-

aaa new-model

aaa authentication login default local

line vty 0 4

transport input ssh

login authentication default

Actions

This Discussion