티스토리 뷰

Network/System&Tools

Cisco IOS SSH Enabling

jacobbaek 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' 카테고리의 다른 글

iptables for NAT loopback  (0) 2020.09.09
How to use a proxy server as a client  (0) 2019.06.12
Cisco IOS SSH Enabling  (0) 2017.09.28
댓글
댓글쓰기 폼