Sunday, November 13, 2011

Cisco IOS router SSH version 2

Cisco IOS router SSH version 2

In this configuration example we will enable ssh version 2 on the router:

Here is the configuration:

hostname testrouter
ip domain-name test-router-for-ssh.com
username testrouter secret testrouter
enable secret cisco
crypto key generate rsa modulus 1024
ip ssh version 2

line vty 0 4
transport input ssh
login local

Lets test the ssh connection from the neighbor router:

R1#ssh -v 2 -l testuser 10.10.10.2
Password:
testrouter>en
Password:
testrouter#

No comments:

Post a Comment