Your host's welcome email says "SSH access enabled". A tutorial tells you to "SSH into the server". Nobody stops to explain. So what is SSH, and do you need it to run a website?
Quick Answer: SSH (Secure Shell) is an encrypted way to log in to a remote server and run commands on it as if you were sitting at its keyboard. Website owners use it to manage files, read logs, restart services and run tools like WP-CLI. It uses port 22 by default, and as of October 2026 the standard software is OpenSSH 10.5.
Last verified: October 2026. OpenSSH 10.5 (released 11 August 2026), SSH protocol 2.0, and the built-in OpenSSH client in Windows 10 (build 1809 or later) and Windows 11.
Our team resolves 20 to 30 client issues every day, and a steady share begin with someone who owns a server but isn't sure how to get inside it. This guide comes out of those conversations, written so you can do it yourself.
What Is SSH, in Plain English?
SSH is a private, encrypted line between your computer and your server, and it lets you control that server by typing commands.
Most explanations open with a cryptography lecture. You don't need one. SSH explained simply: your control panel is a set of buttons somebody else picked for you, and SSH is the keyboard behind those buttons. You type a command, the server runs it, and the answer comes back as text. Anyone snooping on the same café Wi-Fi sees only scrambled noise.
SSH stands for Secure Shell. It is a network protocol created in 1995 to replace Telnet, which sent passwords across the network as readable text. An SSH client on your computer connects to an SSH server program (usually OpenSSH) on port 22, both sides agree on encryption keys, and only then do your login details and commands travel.
The IETF standardised the protocol in 2006, and the SSH protocol architecture in RFC 4251 is still the reference document.
For a website owner, that connection opens up jobs a control panel handles badly or not at all:
- Updating plugins or running a database search-and-replace with WP-CLI.
- Reading logs live when the site throws a 500 error (see checking the PHP error log).
- Restarting PHP or MariaDB, clearing a cache, or checking how full the NVMe SSD is.
- Deploying with Git, or hosting a Next.js app on a VPS.
Do I actually need SSH if I only have one small website?
Honestly, not always. On shared hosting with a control panel, you can run a WordPress site for years without opening a terminal. SSH becomes unavoidable the day you rent a VPS, which has no buttons until you install them.
There's a money reason for that. A cPanel licence alone costs roughly $30 or more per month, so an honest budget VPS arrives bare, and any panel gets installed over SSH.
SSH vs FTP Difference: What Changes for Your Files
FTP only moves files, and classic FTP does it with no encryption at all. SSH gives you a full command line, and its file-transfer mode, SFTP, moves files inside the same encrypted connection.
| Protocol | Default port | Encrypted? | What it can do | Use it in 2026? |
|---|---|---|---|---|
| FTP | 21 | No | Transfer files | Avoid |
| FTPS | 21 or 990 | Yes, with TLS/SSL | Transfer files | Acceptable |
| SFTP | 22 | Yes, runs over SSH | Transfer files | Yes |
| SSH | 22 | Yes | Run commands, tunnel traffic, transfer files | Yes |
The ssh vs ftp difference comes down to encryption and scope. FTP on port 21 sends your username, password and files as plain text, and it can only move files. SSH on port 22 encrypts 100% of the session and lets you run commands too, with SFTP handling uploads and downloads over that same connection.
In practice the switch is tiny. In FileZilla or any similar client, change the protocol to SFTP, set the port to 22 and keep the same username. The folders look identical, but nobody between you and the server can read your password.
Our advice is blunt: if your account has SSH access, stop using plain FTP today. And if your FTP client is rejecting you outright, that's a separate problem, covered in our guide to fixing FTP 530 login authentication failed.
Pro Tip: SFTP and FTPS are two different protocols with confusingly similar names. If your client is set to SFTP but pointed at port 21, it will hang and then time out. SFTP always uses the SSH port.
How to Connect With SSH in 4 Steps
Connecting with SSH takes one command: ssh username@server-ip. macOS, Linux, Windows 10 (build 1809 or later) and Windows 11 all come with an SSH client, so there is usually nothing to download. The first connection asks you to confirm the server's fingerprint, and the whole first login usually takes under 2 minutes.
- Collect your details. Your welcome email or dashboard lists the server IP, the username (often
rooton a new VPS) and the port, 22 unless someone changed it. A hostname works too once DNS points at the server. - Open a terminal. On macOS and Linux, open Terminal. On Windows, open PowerShell or Windows Terminal. If the command isn't found, the OpenSSH for Windows documentation shows how to add the client under Optional features. PuTTY still works, but you no longer need it.
- Run the command. Type
ssh [email protected], replacing the username and IP with your own. On a custom port, add-p, as inssh -p 2222 [email protected]. - Confirm the fingerprint and log in. The first time, your computer shows the server's key fingerprint and asks whether to continue. Compare it with the one in your host's dashboard if it's shown there, type
yes, then enter your password. Nothing appears on screen while you type it, which is normal.
The Three-Command Test
You'll know it worked when the prompt changes to something like username@server:~$. Now run three harmless commands:
bashwhoami df -h uptime
The first tells you which user you are, the second how full each disk is, and the third how long the server has been up and how busy it is (a quick uptime and performance check). We call this the Three-Command Test. If you can run those and explain what came back, you're past the hardest part of owning a server. Type exit to leave.
Still working through this server issue?
Send the symptoms, error output, and what you have already tried. We can work with Hostaccent services or infrastructure hosted with another provider.
SSH Key vs Password Login: Which Should You Use?
Use keys. A password can be guessed by a bot that tries all night, while a key is a long random secret that never leaves your computer.
A key pair has two halves. The private key stays on your laptop. The public key goes on the server, in a file called ~/.ssh/authorized_keys. Think of the public key as a padlock you can hand to anyone, and the private key as the only thing that opens it. Creating and installing a pair takes two commands:
bashssh-keygen -t ed25519 -C "[email protected]" ssh-copy-id [email protected]
(Windows has no ssh-copy-id. Paste the contents of the .pub file into authorized_keys, or into your host's dashboard, instead.)
As of October 2026, the current OpenSSH release is 10.5, and ssh-keygen has created Ed25519 keys by default since version 9.5 in October 2023. Older tutorials that tell you to generate 4096-bit RSA keys still work, but Ed25519 keys are shorter and faster, and DSA keys stopped working entirely in OpenSSH 10.0.
The OpenSSH release notes list each of those changes, and the ssh-keygen manual page documents every option.
Across the 4,000+ sites Hostaccent has migrated (hosting since 2016, UK-incorporated 2018), the step people most often get wrong is switching off password login before confirming the key works. The result is a server nobody can enter. Keep your current session open, log in with the key from a second terminal, and only then disable passwords.
Pro Tip: Give your private key a passphrase when
ssh-keygenasks for one. If your laptop is ever stolen, that passphrase is the only thing standing between the thief and every server that trusts the key.
Common SSH Mistakes and Error Messages
Most failed connections trace back to four causes: the wrong port, the wrong username, a key the server doesn't recognise, or a firewall in the way. The exact wording of the error tells you which.
| Message you see | What it means | First thing to try |
|---|---|---|
| Connection refused | Nothing is listening on that port | Check the port number, then confirm the SSH service is running from your host's web console |
| Connection timed out | A firewall or a wrong IP is blocking you | Recheck the IP, then the server firewall rules |
| Permission denied (publickey) | The server doesn't have your public key, or the username is wrong | Confirm the username and add the key to authorized_keys again |
| Remote host identification has changed | The server's key no longer matches the one your computer saved | After a rebuild, run ssh-keygen -R server-ip. If you didn't rebuild, stop and ask your host |
| Warning about post-quantum key exchange | The server runs an older OpenSSH version | Your login still works. Update the server's packages |
Insider Insight: That last row is new. Clients from OpenSSH 10.1 onward print it when a server can't do post-quantum key exchange, and it catches beginners off guard because it looks like an error.
According to Hostaccent's support queue (October 2026), where our engineers resolve 20-30 client issues every day, the SSH problem we see most is a self-inflicted lockout after a config change. In our experience, break-ins through SSH are far rarer than owners locking themselves out. Three habits cause most of the trouble:
- Working as root every day. Create a normal user with sudo rights first, as shown in how to add a user in Linux with the right groups and permissions.
- Editing SSH settings with only one session open. Before you touch the port or the config file, read how to change the SSH port without locking yourself out.
- Sharing the private key. Only the
.pubfile ever leaves your machine.
Bots find port 22 on any new server quickly. Since OpenSSH 9.8 (July 2024), the server slows them down with a 5-second penalty per failed login. On our own stack we add Fail2ban and CSF/LFD, and admin access goes through Cloudflare zero-trust.
One honest limitation: SSH hands you full power with no undo button. A mistyped delete command is permanent, so take backups or a snapshot before big changes. If that responsibility doesn't appeal, fully managed VPS hosting puts someone else at the keyboard.
Key Takeaways: SSH in Five Lines
For a website owner in 2026, SSH is the skill that separates renting a hosting account from running a server. It takes one command to connect and about 10 minutes to set up key-based login, and it replaces plain FTP completely. WP-CLI, Git deploys, log reading and scripted backups all build on that one encrypted connection.
- The short answer to "what is SSH": an encrypted remote login to your server, on port 22 by default.
- FTP sends files as plain text. SFTP does the same job over SSH, so use SFTP.
- One command connects you:
ssh username@server-ip. - Keys beat passwords. Generate an Ed25519 pair, add a passphrase, and test it before disabling passwords.
- Keep a second session open whenever you change SSH settings.
If you can pass the Three-Command Test, you're ready for a server of your own.
Your Next Step: A Server You Can Log In To Yourself
You started with a simple question, what is SSH, and now you know it's the encrypted login that makes a server yours to run. You could keep practising inside a shared account, or start where root access is waiting from the first minute. The Basic plan at $7.99/mo (it renews at the same $7.99/mo) gives you full root access, free 30 Gbps DDoS protection and a 30-day money-back guarantee, and our own engineers answer support 24/7 when a command goes wrong. One honest caveat: no control panel licence is included, so if you never want to open a terminal, Linux shared hosting will suit you better. Otherwise, start on the Basic VPS plan with Hostaccent and run your first three commands tonight.
Frequently Asked Questions About SSH
What is SSH used for in web hosting?
SSH is used to log in to a hosting server securely and manage it by typing commands. Typical jobs include updating WordPress with WP-CLI, reading PHP and web server error logs, restarting services, importing large databases, fixing file permissions and deploying code with Git. On a VPS it is the main way in, since the server arrives with no control panel until you install one over that same connection.
Is SSH the same as SSL?
No. Both encrypt traffic, but they protect different things. SSL (now called TLS) secures the connection between a visitor's browser and your website, which is what the padlock and your SSL certificate are for. SSH secures the connection between you and your server's command line. A typical site uses both every day: TLS on port 443 for visitors, and SSH on port 22 for the person maintaining it.
What port does SSH use?
SSH uses TCP port 22 by default. Many server owners move it to a custom port such as 2222 to cut down on automated login attempts in the logs, which is fine as long as the firewall is updated first and the new port is tested in a second session. A different port only reduces noise. Key-based login is what actually keeps intruders out of the server.
Can I use SSH on shared hosting?
Often, yes, but with limits. Many shared plans offer SSH or a browser terminal inside the control panel, usually without root access. You can run WP-CLI, Git and file commands inside your own account, but you cannot install system software or restart services. Check your plan's feature list or ask support before you rely on it. Full root access over SSH is what a VPS or dedicated server provides.
Do I still need PuTTY to use SSH on Windows?
No. Windows 10 (build 1809 or later) and Windows 11 include Microsoft's OpenSSH client, so the same ssh username@server-ip command works in PowerShell or Windows Terminal. If the command isn't recognised, add OpenSSH Client under Optional features in Settings. PuTTY remains a fine choice if you prefer a graphical window with saved sessions, but it stores keys in its own .ppk format instead of the standard OpenSSH files.












Discussion
Have a question or tip about this topic? Share it below — your comment will appear after review.