본문 바로가기

Cisco

Configure the SSH server on Router

테스트 환경
1. Dynamips
2. Dynagen 에서 XP(호스트) Interface와 같은 서브넷을 사용할 interface 추가

[[router R1]] 
  console = 2001
  
f0/1 = NIO_gen_eth:\Device\NPF_{EA23F3A6-F92D-4321-BC68-776845054A70}
 (XP의 로컬영역연결 ethernet Adapter의 값을 추가한다.)



Step 0.
(config-if)#ip address 192.168.186.128 255.255.255.0
(config-if)#no shutdown

Step 1.
(config)#ip domain-name cisco.csft

Step 2.
(config)#username alice privilege 15 secret alicepassword

Step 3.
(config)#line vty 0 4
(config-line)#privilege level 15
(config-line)#login local
(config-line)#transport input ssh
(config-line)#exit

Step 4.
(config)#cypto key generate rsa general-keys modulus 1024
(config)#exit

Step 5.
Putty 나 TeraTerm 으로 접근하라.