Link to home
Start Free TrialLog in
Avatar of c_hockland
c_hocklandFlag for Greece

asked on

question on setting up ssh connection on a router

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 ????
ASKER CERTIFIED SOLUTION
Avatar of parparov
parparov
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial