티스토리 뷰
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/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
- K3S
- OpenStack
- ansible
- wsl2
- DevSecOps
- ceph
- aquasecurity
- socket
- crashloopbackoff
- Terraform
- vmware openstack
- minio
- kata container
- Helm Chart
- nginx-ingress
- openstack backup
- GateKeeper
- kubernetes
- open policy agent
- mattermost
- metallb
- macvlan
- azure policy
- jenkins
- hashicorp boundary
- openstacksdk
- boundary ssh
- kubernetes install
- Jenkinsfile
- minikube
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |