TCP vs UDP
TCP:
- Transmission Control Protocol
- Connection oriented
- Guaranteed reliable
- 3-way handshake
- A send SYN to B
- B send SYN ACK to A
- A send ACK to B
- Connection established between two neighbor
UDP:
- User Datagram Protocol
- Connectionless
- Not guarantee and unreliable protocol
SSH: SSH is stand for Secure Shell. TCP port 22 is asssigned to this protocol. It was designed to replace Telnet(port 23) and other unsecured protocols. The protocol is used to start the SSH client session that enables secure connection to the SSH server on a remote machine.