04-10-2012 05:41 AM - edited 03-04-2019 03:58 PM
Hi.I'm trying to configure ssh access with putty and puttygen.
I'm using this document http://glennmatthys.wordpress.com/2012/01/07/ssh-with-key-authentication-on-cisco-ios-devices/
I've configured everything correctly but the router refuses to connect.
I'm wondering If I haven't configured enough In terms of enabling ssh.
I've created a domain-name,username ,password and enabled ssh and telnet on the vty line (transport input telnet ssh).I know when I generate an rsa key ssh Is enabled but It Is not enabled when I create an ip ssh pubkey-chain.
I guess my question Is what further configuration Is needed apart from that listed In the linked document ?
Solved! Go to Solution.
04-10-2012 09:32 AM
Hi,
I assumed this was the way you should configure It when using putty.
By router name do you mean the Hostname ?
Why would you use a special config depending upon client as ssh is an open standard, so get rid of what you posted above and generate the crypto key and yes the router name is the hostname command.
Regards.
Alain
04-10-2012 11:05 AM
If SSH is disabled then that it why the router refuses to connect using SSH. SSH remains disabled until RSA keys are generated.
You can coordinate the key between the router and the PC running putty. But the router is the server in this connection and the PC is the client. And the key is generated on the server and not on the client.
Yes the router name is the hostname command.
HTH
Rick
04-10-2012 05:54 AM
You have not listed a router name as something that you have configured and a unique router name is required to activate SSH. And I am not clear whether you have actually done the crypto key generate which generates the RSA keys which are also required.
Based on what you have given us so far it is possible that the problem is an issue on the router and it is possible that it is some access issue getting to the router. A good place to start to clarify this would be to post the output of show ip ssh.
HTH
Rick
04-10-2012 08:48 AM
SSH Disabled
Please create RSA keys.
I didn't generate RSA keys because I entered the key from putty.
ip ssh pubkey-chain
username admin
key-string ip ssh pubkey-chain
username admin
key-string
I then entered the key generated In putty.
I assumed this was the way you should configure It when using putty.
By router name do you mean the Hostname ?
04-10-2012 09:32 AM
Hi,
I assumed this was the way you should configure It when using putty.
By router name do you mean the Hostname ?
Why would you use a special config depending upon client as ssh is an open standard, so get rid of what you posted above and generate the crypto key and yes the router name is the hostname command.
Regards.
Alain
04-10-2012 11:05 AM
If SSH is disabled then that it why the router refuses to connect using SSH. SSH remains disabled until RSA keys are generated.
You can coordinate the key between the router and the PC running putty. But the router is the server in this connection and the PC is the client. And the key is generated on the server and not on the client.
Yes the router name is the hostname command.
HTH
Rick
04-10-2012 11:37 AM
Thank you for the Information!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide