What is ssh between two computers?
# Web Site Writing Basics # webserver # Lemon 8 Howtoo
To put it most visually, SSH (Secure Shell) is to create a "secure command pipeline" between your computer (the source) and another computer (the destination) so that you can control or manipulate it as if you were actually sitting in front of it.
Let's look at some simplifying details:
1.Act like a command type "remote control"
Normally, if we see the screen remote, we use programs like TeamViewer or AnyDesk, but SSH focuses on Command Line, which is the standard method used by programmers and system admins around the world.
2. Why the word "Secure" (Secure)?
In the past, there was a remote method called Telnet, in which everything printed (including passwords) was sent in plain text. If someone eavesdropped on the data in the middle of the way, he saw our password immediately, but SSH was featured:
Encryption: The data running in the SSH pipe is locked. Even if someone can sneak it, they can only see junk letters that can't be read.
Verification: There is a system to verify that the machine you are connecting is the real machine, not the fake machine that deceived the data.
3. Components of SSH
To work, two parties must work together:
SSH Server: Installed at the destination (such as your Ubuntu Server) to wait to "open the door," waiting to receive the connection (usually Port 22).
SSH Client: Installed on the machine you are holding in your hand (such as Linux Mint or Mobile) to use as a "send requests" tool.
4. Popular command format used
When you are remote, you will open Terminal and type the command in this format:
Bash
SSH username@ip-address
username: The username located in the terminal.
IP-address: The address of the machine (such as 192.168.1.50 in the home or Tailscale IP)
5.Benefits of SSH in the task you are doing
Manage Server: Order machine updates, install programs (such as Tailscale), or edit config files.
File Transfer: Files can be sent through this secure pipe (called SCP or SFTP).
Lightness: Because it doesn't have to send screenshots (GUI), it works slickly even when the net is slow.
In a nutshell: SSH is the safest and most professional way to remotely operate a Linux computer.






















































































