cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1282
Views
0
Helpful
1
Replies

SSH access to c7200

valery.popov
Level 1
Level 1

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?

1 Reply 1

adamclarkuk_2
Level 4
Level 4

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

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: