Skip to content
Servers and Linux2 min read

What is SSH (Secure Shell)?

Short answer

SSH (Secure Shell) is an encrypted protocol for connecting to a remote server and running commands on it as if you were sitting in front of it, on port 22 by default. It also carries file transfers over SFTP and scp and Git traffic, and accepts logins by password or, more securely, by SSH key.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. How a connection works
  2. Common commands and uses
  3. Common problems
  4. On ArabyHost

Before SSH, tools like Telnet sent passwords and commands as plain text. SSH encrypts the whole session, which made it the standard way to manage Linux servers, deploy sites and run developer tools.

How a connection works

  1. Your computer (the client) connects to the server on port 22, or another port your provider specifies.
  2. The server sends its host key, and your computer compares it with what it saved before in ~/.ssh/known_hosts.
  3. Both sides agree on an encryption key for the session.
  4. You prove who you are with a password or an SSH key.
  5. You get a shell on the server.

On the first connection you’ll see something like:

The authenticity of host 'example.com (203.0.113.10)' can't be established.
ED25519 key fingerprint is SHA256:...
Are you sure you want to continue connecting (yes/no/[fingerprint])?

Common commands and uses

Use Command
Log in to the server ssh [email protected]
Log in on a port other than 22 ssh -p 2222 [email protected]
Upload a file scp backup.zip [email protected]:~/
Clone a Git repository over SSH git clone [email protected]:user/repo.git
Run one command and exit ssh [email protected] "du -sh ~/public_html"

To save typing, add a shortcut to ~/.ssh/config on your computer:

Host mysite
  HostName example.com
  User username
  IdentityFile ~/.ssh/id_ed25519

After that, ssh mysite is enough.

Common problems

  • Connection refused: nothing is listening on that port, or your plan doesn’t include SSH. See that error’s page.
  • Permission denied (publickey): the key isn’t installed, or you’re offering a different one.
  • Host key verification failed: the server’s fingerprint changed, perhaps after an account move. Confirm why, then remove the old line from known_hosts.

On ArabyHost

SSH is available on AI/Developer plans, jailed in CageFS, without root access. From it you can run Git, Composer, Node.js 20 and 24 and Python, and run Claude Code and Codex directly on the server as shown in the Claude Code on the server guide. Other plans don’t include SSH; you can deploy to them from GitHub or by uploading a ZIP. To get started, read the SSH access guide and the AI plans page.

FAQ

What's the difference between SSH and SFTP?

SSH is the protocol and encrypted connection itself; SFTP is a file-transfer method that runs on top of it. If you have SSH access, you usually have SFTP with the same credentials.

Can I use SSH from Windows?

Yes. Windows 10 and 11 ship with an ssh command in PowerShell and Command Prompt, and you can also use tools like PuTTY or the VS Code terminal.

Why do I see "The authenticity of host" on the first connection?

Your computer doesn't know this server's fingerprint yet. Verify it if you can, then type yes; it's saved in known_hosts and you won't see the prompt again unless the fingerprint changes.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.