Guides tagged “ssh”
Step-by-step MdmHost guides about ssh, sorted A-Z.
54 guides · page 2 of 3
First steps after your Linux VPS is ready (SSH, updates, firewall)
Log in over SSH, change the root password, install updates, add a sudo user and switch on a firewall without locking yourself out.
Fix SSH "connection refused", "timed out" and "permission denied"
Work out what each SSH error means, test the port from your computer, and use the control panel's browser console to fix the firewall, the SSH service or key permissions.
Fix SSH "Too many authentication failures" when connecting
Learn why SSH offers too many keys and gets rejected, and fix it with IdentitiesOnly, ssh-agent and a small SSH config entry.
Implementing secure file transfer with SFTP over SSH keys
Generate an SSH key pair, install the public key on your Linux VPS, and use it to move files with SFTP — no passwords, and ready for scripts and cron jobs.
Install OpenSSH Server on Windows for SSH and SFTP
Install and start OpenSSH Server, connect over SSH, set PowerShell as the default shell, add admin SSH keys and copy files with SFTP.
Keep your own off-site copy of a cPanel account with rsync over SSH
Automatically copy your cPanel website files and database dumps to your own computer or server with rsync over SSH, as an extra backup next to MdmHost's daily JetBackup.
Lock down SSH on a Linux VPS: a complete checklist
A step-by-step SSH hardening checklist for Linux VPS and WHM servers: keys only, no root password login, firewall limits by IP, brute-force bans and safe testing.
Locked out by your firewall? How to get back into your VPS
If a firewall rule blocked SSH, you can still reach your server through the browser console in your VPS provider's control panel. Disable the firewall, fix the rule and turn it back on safely.
Manage several SSH keys for different servers
Keep separate SSH keys for different servers, clients or devices, tell SSH which key to use per host with IdentityFile and IdentitiesOnly, name keys clearly, rotate them and remove old keys from authorized_keys.
Manage shell access for cPanel accounts in WHM: jailed vs normal (root guide)
Decide which cPanel users get SSH, choose between jailed shell, normal shell and CageFS, enable or disable shell per account in WHM, and keep shell access secure.
Manage your Linux VPS from an Android phone or iPhone
Connect to your Linux VPS over SSH from Android or iPhone with apps such as Termius, JuiceSSH and Blink Shell, use SSH keys on mobile, find special keys like Ctrl and Tab, and make safe emergency fixes.
Open and close ports in CSF (TCP_IN, TCP_OUT, UDP_IN, UDP_OUT)
Edit the CSF port lists to open a port for a new service, close ports you do not use, and restrict a port such as SSH to trusted IPs on a cPanel/WHM server.
Protect SSH from brute-force attacks with Fail2ban
Install Fail2ban, create a safe jail.local for SSH, check which addresses are banned and unban yourself if you mistype a password too often.
Rate-limit SSH and other ports with ufw limit
Use ufw limit to slow down SSH brute-force attempts. Learn how the 6-connections-in-30-seconds rule works, apply it to a custom SSH port, pair it with Fail2ban and test it.
Set up SSH keys
Create an SSH key pair, add it to your Linux VPS from macOS, Linux or Windows, and optionally switch off password logins safely.
Set up Termius to manage your Linux servers
Use Termius to connect to your Linux VPS from desktop and mobile, add hosts and SSH keys, organise servers into groups, save snippets, transfer files over SFTP and understand the security trade-offs of syncing.
SSH access in cPanel: generate, import and authorise SSH keys
Connect to your cPanel hosting over SSH with keys: generate or import a key in cPanel SSH Access, authorise it, and connect from Windows, macOS or Linux.
SSH Hardening: Auditing and Limiting Shell Access for Service Accounts
Audit every Linux account that has a login shell, move service accounts to nologin, and restrict SSH with AllowGroups and Match blocks so only people who need a session get one.
SSH Hardening: Auditing and Restricting Authorized Keys for Critical Services
Find every authorized_keys file on your Linux VPS, validate each key, and apply strict per-key restrictions so only the access you intend is possible.
SSH Hardening: Enforcing Key Rotation Policies for Automated Security
SSH key rotation replaces long-lived credentials before they become a permanent backdoor. This guide covers expiry dates in authorized_keys, a rotation script and auditing.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.69 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.37 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.49 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.40 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.37 guides
- DomainsRegistering, transferring and managing domains and nameservers.20 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.19 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.30 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.23 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.23 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.7 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.30 guides
- PleskWebsites, email, databases and settings in the Plesk panel.52 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.40 guides
- WHMCSBilling, automation, products and client management with WHMCS.51 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.106 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.115 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.34 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.52 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.64 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.68 guides
- Linux VPSSSH, packages, services and everyday Linux administration.70 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.58 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.58 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
