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
- Your computer (the client) connects to the server on port
22, or another port your provider specifies. - The server sends its host key, and your computer compares it with what it saved before in
~/.ssh/known_hosts. - Both sides agree on an encryption key for the session.
- You prove who you are with a password or an SSH key.
- 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 fromknown_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.