Main menu
Definition

Secure Shell (SSH)

Secure Shell (SSH) is a protocol employing cryptographic techniques to establish a secure connection between a client and a server. Learn how SSH works, how password and key authentication compare, and how to keep SSH access secure.

DTDevolutions Team·November 12, 2026·2 min read

What is Secure Shell (SSH)?

Secure Shell (SSH) is a network protocol for logging in to and managing remote computers securely. It encrypts everything sent between client and server, including credentials, commands, and output. SSH replaced insecure protocols such as Telnet and rlogin and is the standard way to administer Linux and Unix servers, network devices, and many cloud systems. It also supports secure file transfer (SFTP and SCP) and port forwarding.

How does SSH work?

  1. The client connects to the server, by default on TCP port 22.
  2. The server presents its host key. The client checks it against known keys to make sure it is talking to the right server.
  3. Client and server agree on encryption algorithms and create shared session keys.
  4. The user authenticates, usually with a password or with an SSH key pair: the server holds the user's public key, and the client proves it holds the matching private key.
  5. An encrypted channel opens for a shell, commands, file transfer, or tunnels.

SSH keys can be protected with a passphrase, and SSH agents keep unlocked keys in memory for convenience.

SSH vs. Telnet

Telnet provides remote terminal access but sends everything, including passwords, in plaintext. SSH provides the same kind of access with encryption, server verification, and stronger authentication. Telnet should be replaced by SSH wherever possible.

Why does SSH matter?

SSH is how administrators reach critical systems, so SSH credentials are highly privileged. Common weaknesses are password logins exposed to the internet, unmanaged keys that never expire, and private keys shared or copied between people. Disabling direct root login, preferring keys or certificates, restricting where SSH is reachable from, and keeping track of who holds which keys reduce the risk.

Frequently asked questions

What is SSH?

SSH (Secure Shell) is a protocol employing cryptographic techniques to establish a secure connection between a client and a server for remote login and administration.

What is an SSH key?

An SSH key is a cryptographic key pair used for authentication. The public key is placed on the server, and the private key stays with the user.

What port does SSH use?

SSH uses TCP port 22 by default. It can be changed, but access controls and strong authentication matter much more than the port number.

Open SSH sessions with credentials injected

Launch sessions in one click, with credentials injected so they never touch a clipboard.

Explore Remote Desktop Manager

Related terms

TELNET

TELNET is a protocol for interfacing terminal devices and processes, and for facilitating terminal-to-terminal and process-to-process communication.

Read now →

Public key encryption

Public key encryption uses a pair of cryptographic keys, a public key and a private key: either the key used to encrypt the data is public and the key used to decrypt it is private, or the reverse.

Read now →

Remote Desktop Protocol (RDP)

Remote Desktop Protocol (RDP) is a network communications protocol owned and developed by Microsoft.

Read now →