네트워크 전문가가 되기 위한 고속 성장 일지 by Net Wiz Team

4.8 Configure network devices for remote access using SSH 본문

CCNA-Fundamental

4.8 Configure network devices for remote access using SSH

리리아나(Net Wiz) 2024. 3. 3. 14:09

4.8 Configure network devices for remote access using SSH

 

SSH(Secure Shell)

텔넷과 같은 원격 접속을 암호화를 통해서 제공하는 서비스

 

1. 대칭키 알고리즘

- 암호화키와 복구화키가 같다.

- 연산 속도가 매우 빠르다.

- 암호화키를 교환하는 과정에서 제 3자가 개입할 수 있다. (man in the middle attack)

ex) DES, 3DES, AES, SEED, ARIA

 

2. 비대칭키 알고리즘

- 암호화키와 복호화키가 같지않다.

- 공개키 저장소에서 공개키를 공유한다.

- 공개키를 암호화하고 개인키로 복호화한다.

- 키 분배가 안정적이다.

- 연산부하가 많이 생긴다.

ex) DH, RSA, TLS

 

3. SSH 사용하기

R2(config)#ip domain name <domain name> // 도메인 이름 생성

R2(config)#crypto key generate rsa // 키 생성

R2(config)#line vty 0 4

R2(config-line)#transport input ssh // telnet이 기본값이므로 ssh로 바꿔줌

R2(config-line)#logical local

 

출처

https://netdream.tistory.com/36 

https://net-study.club/entry/Cisco-Router-telnet-SSH 

https://itexam24.com/16-4-7-lab-configure-network-devices-with-ssh-answers/