Solved

question on setting up ssh connection on a router

Posted on 2011-09-14
1
320 Views
Last Modified: 2012-05-12
Hi , i am trying to set up ssh on my router and access it from putty.exe

here is part of the config i am using as a template

Username root password quazitron
enable secret jha12wsii
aaa new-model
hostname abc
clock timezone GMT 0
ip routing
ip domain-name abc
ip name-server 172.20.3.21
ip subnet-zero
no ip source-route
no ip http server
no ip http secure-server
ip classless

crypto key generate rsa

2048


interface Vlan100
 description --- Infrastructure ---
 ip address 172.26.102.238 255.255.255.192


router eigrp 100
passive-interface default
no passive-interface Vlan101
network 172.19.26.0 0.0.0.255
network 172.19.30.0 0.0.0.255
no auto-summary


int range fa0/1 - 46
description --- Clients ---
switchport mode access
switchport access vlan 100
spanning-tree portfast
 switchport mode access
 switchport port-security maximum 2
 switchport port-security aging time 2
 switchport port-security violation restrict
 switchport port-security aging type inactivity
 storm-control broadcast level 2.00
 spanning-tree portfast
 spanning-tree bpduguard enable


interface GigabitEthernet0/1
 description --- Uplink
 switchport trunk encapsulation dot1q
 switchport mode trunk


ip route 0.0.0.0 0.0.0.0 172.26.102.254 name ---->r1


line con 0
 exec-timeout 35700 0
 logging synchronous
line vty 0 4
 exec-timeout 35700 0
 logging synchronous
 transport input ssh
 transport output ssh
line vty 5 15
 exec-timeout 35700 0
 logging synchronous
 transport input ssh
 transport output ssh
!

ip access-list standard SNMP
 permit 172.18.193.30
 permit 172.20.9.50
 permit 172.20.2.36
 permit 172.24.1.30
 permit 172.21.1.95
 permit 172.20.1.87
 permit 172.20.1.86
 deny   any log

snmp-server community VvVaSDD5fZQqD6MR8CZPBY8wjMSJ3UN RO SNMP


how do i enter this 2048 value ????
0
Comment
Question by:c_hockland
1 Comment
 
LVL 9

Accepted Solution

by:
parparov earned 500 total points
Comment Utility
When you request the key generation:
crypto key generate rsa

Open in new window

You will be prompted for the key length:
How many bits in the modulus[512]?

Open in new window

There you enter 2048 (or template does).
Please note that generating 2048-bit key may take quite some time, according to this doc:
http://www.cisco.com/en/US/docs/ios/12_2t/12_2t8/feature/guide/ftmltkey.html
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now