Cara Setting SSH Remote di Cisco
Kebutuhan konfigurasi SSH:
1. Hostname tidak boleh default
2. Harus ada domain name
3. Authentication menggunakan username dan password
4. Deskripsikan di jalur telnet bahwa akan menggunakan ssh
5. Generate crypto key
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Router>en Router#conf t Router(config)#hostname musaamin musaamin(config)#ip domain-name musaamin.web.id musaamin(config)#int fa0/0 musaamin(config-if)#ip addr 192.168.1.212 255.255.255.0 musaamin(config-if)#no shut musaamin(config-if)#exit musaamin(config)#enable secret LAB musaamin(config)#username CISCO secret LAB musaamin(config)#crypto key generate rsa musaamin(config)#line vty 0 4 musaamin(config-line)#login local musaamin(config-line)#transport input ssh |
Uji koneksi ke router
1 2 3 4 5 6 7 8 | PC>ping 192.168.1.212 Pinging 192.168.1.212 with 32 bytes of data: Reply from 192.168.1.212: bytes=32 time=1ms TTL=255 Reply from 192.168.1.212: bytes=32 time=0ms TTL=255 Reply from 192.168.1.212: bytes=32 time=0ms TTL=255 Reply from 192.168.1.212: bytes=32 time=0ms TTL=255 |
Lakukan koneksi ssh
1 2 3 4 5 6 7 | PC>ssh -l CISCO 192.168.1.212 Open Password: musaamin>en Password: musaamin# |
selamat mencoba 🙂
referensi : Danu Wiyoto, Workbook CCNA.