[NETWORK] telnet과 ssh 차이
2023. 3. 9. 22:24
리눅스를 공부하다가 ssh를 사용하게 되었고, 정리가 필요해서 검색 중 telnet과의 차이를 정의한 블로그를 봐서 이를 바탕으로 정리하고자 한다.
ref : https://phoenixnap.com/kb/telnet-vs-ssh
Telnet vs. SSH: How Is SSH Different From Telnet?
Check out our tutorial to find out how Telnet and SSH work, what makes them different, and when to use each.
phoenixnap.com
정의
- telnet과 ssh 모두 프로토콜의 한 종류이다.
- 원격 제어를 위한 프로토콜이다.
- telnet (Telecommunications and Networks) and SSH(Secure SHell)
Telnet
- telnet은 원격 시스템 (remote system)을 위한 프로토콜이다.
- 1969년에 런칭되었다.
- windows기능에서 텔넷 사용권한을 줘야 사용할 수 있다.
- 23번 포트를 사용함
- byte스트림 형식으로 데이터를 주고받음
SSH
- SSH는 telnet에 비해 보안기능이 첨가된 프로토콜이다.
- 보안을 위한 오버헤드가 발생한다.
- 22번 포트를 사용함
- 암호화 처리되어 데이터 주고받음
**Feature****Telnet****SSH**
Operation | Uses TCP port 23 and works best with local area networks. | Uses TCP port 22 by default. Easy to change the port number. |
Security | Less secure than SSH, with many vulnerabilities. Difficult to encrypt data. | Highly secure. |
Authentication | No authentication mechanism. | Uses public [key encryption](https://phoenixnap.com/blog/key-management). |
Data Formats | Data is transferred as plain text. | Data is transferred in an encrypted format via a secure channel. |
Operating Systems | Linux and [Windows](https://phoenixnap.com/kb/telnet-windows). | All popular operating systems. |
Bandwidth Usage | Low. | High. |
결론적으로 두 프로토콜 모두 원격 연결을 위해 사용되지만, ssh가 보안성이 높으므로 ssh를 사용하는 편이 더 낫다.
'CS > 네트워크' 카테고리의 다른 글
OSI 7 Layer (0) | 2021.12.29 |
---|---|
[HTTP] 엔티티와 인코딩 (0) | 2021.11.01 |
[HTTP] 기본 인증 (0) | 2021.10.19 |
[HTTP] 클라이언트 식별과 쿠키 (0) | 2021.10.18 |
[HTTP] HTTP 2.0 (0) | 2021.10.17 |