From Windows you must search for the CMD program

CMD is like the command console in Linux or macOS (the commands are not the same, they are called BATCH commands)

SSH means Secure Shell

SSH is a console program that allows you to securely remotely access PCs or servers.

You access the PC or server as if you were in the same place and typing on its console

I use Windows in Spanish, so the images are in Spanish.

ssh -p 50511 user@www.domain.com
ssh -p 50511 user@ip

If you don’t set the port, the default is 22.

That is, if you don’t put -p 50511 , ssh chooses port 22

50511 is the port

A domain is mapped to an IP, if it is easier for you to remember a domain, you can hire one, they are not expensive

Before SSH, protocols like Telnet were used, which sent information (including passwords) in plain text. This was very dangerous, as anyone with the right tools could intercept and read what was sent. SSH solved this problem by encrypting all communication.

You must access via SSH using a user name from the operating system and a password.

Once you have accessed, you will use the Linux commands, it is as if you were there.

Another very important thing to know is that for PCA to communicate with PCB via SSH, there must be an SSH server listening on PCB.

Generally macOS and Linux operating systems already have an SSH server listening by default.

The SSH service on the PCA is called SSH client

The service that is listening to SSH in PCB is a daemon and is called SSHD.

A daemon (sometimes written as “demonio” in Spanish) is a type of program that runs autonomously in the background of an operating system, without being under the direct control of a user.

Unlike a normal application (such as a web browser or word processor), a daemon doesn’t have a graphical user interface (GUI) and doesn’t require a person to start or interact with it constantly. It runs discreetly.

It’s not tied to a specific user session. Daemons typically start automatically when the operating system boots and continue running until the system is shut down.

(on Unix/Linux systems): It is a common convention for daemon names to end with the letter “d”.

For example, the ssh daemon is called sshd