Class 07 - MackD51/CyberReadingNotes GitHub Wiki

Reading notes for Class 07: SSH Protocol and RDP

SSH Protocol

1. What is the Secure Shell (SSH) Protocol?

  • SSH Protocol is a method for secure remote login from one computer to another. It uses strong authentication and encryption methods.

2. What are the typical uses of the SSH protocol?

SSH is typically used to:

  • Provide secure access for users and automated processes

  • Allow interactive and automated file transfers

  • Issue remote commands

  • Manage network infrastructure and other important system components

3. How does the SSH protocol work?

  • SSH client establishes connection and connects to the SSH server. SSH client uses public key cryptography to verify the identity of the SSH server. The privacy and integrity of the data that is exchanged between the client and server is guaranteed due to the use of strong encryption and hashing algorithms by SSH protocols.

4. How is the data kept safe when transmitted between the SSH client and server?

  • The data is encrypted after a connection between the SSH client and server is established. After the client and server decide on the symmetric encryption algorithm they are going to use, they generate a special encryption key. Strong encryption algorithms, such as AES, protect the traffic between the client and server. Moreover, the SSH protocol uses standard hash algorithms, such as SHA-2, in order to ensure the integrity of the transmitted data.

5. What is SFTP?

  • SFTP is a secure file transfer protocol that runs over the SSH protocol. It supports the security and authentication functionality of SSH. SFTP is more secured and more reliable file transfer protocol compared to FTP and FTP/S. It authenticates both the server and the user and protects the integrity of the data using encryption and cryptographic hash functions.

What is RDP? And how to use it

1. What is Windows Remote Desktop Connection?

  • Windows Remote Desktop Connection is a tool that allows users to connect to a remote Windows or server over the internet or on a local network. It gives the users fool access to everything that is installed on the PC/server. This became possible by Microsoft's RDP.

2. What is RDP?

  • Remote Desktop Protocol, or RDP, is a machine that allows remote users to gain access to Windows on a device in another location. This remote machine gains control over that device's keyboard and mouse and allows to use it as if it was your own device.

3. What is the RDP port number?

  • RDP connection over the internet can be established by using TCP/UDP port 3389.

References

Stockton, B. (2022, October 20). What is RDP? And how to use it. https://www.comparitech.com/net-admin/what-is-rdp/

Ylonen, T. (1996). SSH File Transfer Protocol (SFTP): Get SFTP client & server. https://www.ssh.com/academy/ssh/sftp-ssh-file-transfer-protocol

Ylonen, T. (1996). SSH Protocol – Secure Remote Login and File Transfer. https://www.ssh.com/academy/ssh/protocol

Things I want to know more about

  • Learn more about encryption and authentication processes

  • Install RDP on my computer and try to connect over the internet to my laptop