Code on a screen, representing the SSH protocol.

The encrypted protocol that lets you safely control another computer over the internet.

What SSH is

SSH, short for Secure Shell, is a network protocol that lets you securely access and control a computer over an unsecured network such as the internet. Most commonly it gives you a remote command-line session on another machine, as if you were sitting in front of it, but it can also securely transfer files and tunnel other traffic. SSH is the standard way developers and system administrators manage servers, and it replaced older tools like Telnet that sent everything, including passwords, in plain text.

Why it is secure

The key word in Secure Shell is secure. When you connect, SSH establishes an encrypted channel between your computer (the client) and the remote machine (the server), so anyone intercepting the traffic sees only scrambled data, not your commands, files, or credentials. It also verifies the server's identity using a cryptographic host key, which helps protect you from connecting to an impostor. This combination of encryption and authentication is what makes SSH safe to use across the open internet.

Passwords vs. keys

You can authenticate to an SSH server with a password, but the more secure and common approach is key-based authentication. You generate a key pair: a private key that stays secret on your machine and a public key that you place on the server. When you connect, the two are used to prove your identity without ever sending a password across the network. Because a strong key is far harder to guess or brute-force than a password, key-based authentication is the recommended default for servers.

How a connection works

When you run an SSH command, the client and server first negotiate encryption and exchange keys to set up a secure channel. The server proves its identity with its host key, and your client checks it against known hosts, warning you if it has changed. Then you authenticate, with a key or password, and once accepted, you get a secure session. SSH listens on TCP port 22 by default, which is why that port shows up so often in server and firewall discussions.

What you can do with it

Beyond interactive command-line sessions, SSH underpins several everyday tools. SCP and SFTP use SSH to transfer files securely. Port forwarding (tunneling) can route other application traffic through the encrypted SSH connection, useful for reaching services that are not directly exposed. Git often uses SSH to push and pull code securely. In short, SSH is a general-purpose secure pipe, not just a remote terminal, which is why it is such a foundational tool.

Why it matters

SSH is one of the quiet workhorses of the internet. Nearly every cloud server, virtual machine, and remote system is managed through it, and understanding it demystifies a big part of how modern infrastructure is run. Even if you never administer a server, knowing what SSH is clarifies references you will encounter constantly in development, dev-ops, and security, and it underscores a broader lesson: secure systems combine encryption with identity verification to make remote trust possible.

See also: What is encryption? End-to-end explained, What is the command line, and why developers use it.

Sources

Published date reflects the original event date (2025-02-04). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.

Skillo Staff

Skillo Staff

All stories by: Skillo Staff

Leave a Reply