cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
422
Views
5
Helpful
1
Replies

How to configure SSH on router?

Soon Kwan Kwon
Level 1
Level 1

Hello all,

I configured on Router about SSH.

However, the sentence "Connection timed out" after configuring.

I'm so confused what should I do.

Please see the commands that I configured.

--------------------------------------------------------------------

cisco2901/K9(config-if)#do show run
Building configuration...

Current configuration : 1212 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cisco1821
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$wPYJ$lzl6KC4XfZ3eQHDRZK.1r/
!
no aaa new-model
ip cef
!
!
!
!
ip domain name test.com
!
!
!
username cisco secret 5 $1$vmeH$CoENEzLG0iogJg6LL2auK1
!
!
ip ssh version 2
!
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.10.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 210.116.117.9 255.255.255.240
ip directed-broadcast
duplex auto
speed auto
standby 1 ip 210.116.117.11
standby 1 priority 110
standby 1 preempt delay minimum 30
standby 1 track Loopback0 60
!
ip forward-protocol nd
ip route 210.116.121.224 255.255.255.224 FastEthernet0/1
!
!
ip http server
no ip http secure-server
!
access-list 1 permit any
!
!
!
!
control-plane
!
!
!
line con 0
login local
line aux 0
line vty 0 4
access-class 1 in
exec-timeout 5 0
login local
transport input ssh
transport output ssh
line vty 5 15
access-class 1 in
login local
transport input ssh
transport output ssh
!
scheduler allocate 20000 1000
end

--------------------------------------------------------------------

And here is my network diagram.

I obviously configured after seeing youtube lecture..

What is the mistake I did?

Please advise me what should I do.

Regards,

SK.

1 Reply 1

Have you created a public/private keypair? Some more info on configuring SSH:

https://supportforums.cisco.com/document/12338141/guide-better-ssh-security