티스토리 뷰

Network/System&Tools

Cisco IOS SSH Enabling

Jacob_baek 2017. 9. 28. 14:58

Cisco Switch 에 SSH를 enable 하는 방법

cisco switch catalyst 3560에 SSH로 연결할 이슈가 생겨 SSH를 Enable 하는 방법을 정리해보았다.


사전준비

Switch> enable

Switch# conf terminal

Switch(config)# hostname my_domain

Switch(config)# ip domain-name my_domain.com

Switch(config)# crypto key generate rsa

Switch(config)# show running-config


SSH 설정

Switch# conf terminal

Switch(config)# ip ssh version 2

Switch(config)# ip ssh timeout 120 authentication-retries 3

Switch(config)# show running-config


Switch# conf terminal

Switch(config)# line vty 1 15 # 15개의 session

Switch(config-line)# login local

Switch(config-line)# transport input ssh

Switch(config)# show running-config


사용자 생성

Switch(config)# username admin password 0 naim4321


enable된 SSH 확인

Switch#show ip ssh

SSH Enabled - version 2.0

Authentication timeout: 120 secs; Authentication retries: 3


- https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-0_2_EX/security/configuration_guide/b_sec_152ex_2960-x_cg/b_sec_152ex_2960-x_cg_chapter_01001.html

- https://www.cisco.com/c/en/us/support/docs/security-vpn/secure-shell-ssh/4145-ssh.html

'Network > System&Tools' 카테고리의 다른 글

sockperf  (0) 2022.01.05
iptables for NAT loopback  (0) 2020.09.09
How to use a proxy server as a client  (0) 2019.06.12
iperf  (0) 2018.11.07
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/10   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함