Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsHarden a Linux VPS in this order: secure SSH access, apply a default-deny firewall, add brute-force protection, install all available patches, enable unattended security updates, and keep encrypted backups somewhere other than the server. Then verify the controls from a second machine and rehearse a restore. This sequence fits Ubuntu and Debian hosts and avoids the common mistake of treating a green firewall status or a successful backup command as proof that the server can withstand an attack or recover from one.
Need a server to try this on? Antihost offers Linux VPS plans with NVMe storage, full root access and a 14-day free trial.
Start with a safe change process
Most lockouts happen because an administrator changes SSH or firewall rules in the only active session and discovers the mistake after disconnecting. Keep one authenticated SSH session open while you make access changes, and use a second session to test them. Do not close the original session until the new login, firewall path and sudo access have all worked.
As an Amazon Associate I earn from qualifying purchases.
Free tools Windows power users keep installed
One-click scans. No signup required.
- Record the provider’s emergency console or serial-console procedure before changing SSH.
- Note the public IP address, operating-system release, listening services and current SSH port.
- Make one change at a time, validate it, and keep a short rollback note.
- Use the target distribution’s documentation for commands that differ between Ubuntu and Debian.
Lock down SSH before anything else
SSH is the administrative door to a VPS. The baseline is a normal user with sudo, key-only authentication, and root and password logins disabled.
Create a non-root administrator
- Connect as the provider-supplied account or root account while the server is still reachable.
- Create a user, for example
sudo adduser vpsadmin. - Grant administrative access with
sudo usermod -aG sudo vpsadminon Ubuntu. Check the equivalent administrative group in the documentation for another distribution. - From your workstation, copy the public key to the new account using your provider’s console or an approved key-copy method. Confirm that
vpsadmincan runsudo -vand perform a harmless privileged command.
Do not remove the original account or disable root access until the new account has successfully logged in with its key and can use sudo.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
Use keys and disable password authentication
Generate an SSH key pair on your own computer and protect the private key with a passphrase. Put only the public key on the VPS. In /etc/ssh/sshd_config, set:
PermitRootLogin no
PasswordAuthentication no
Keep public-key authentication enabled. Before reloading SSH, validate the file with sudo sshd -t. If the test succeeds, reload rather than abruptly stopping the daemon: sudo systemctl reload ssh. Test a new terminal with the non-root key while the original session remains open.
Some guides recommend SSH two-factor authentication; others treat it as an optional layer. Decide according to your threat model and operational ability to recover an account. It is not a substitute for disabling password and direct-root logins.
Should you change port 22?
Moving SSH to another port reduces automated scan noise, but it does not provide meaningful protection against a determined attacker. Keys, disabled root login and disabled passwords matter far more.
| Choice | What it changes | Operational requirement |
|---|---|---|
| Keep port 22 | Uses the conventional SSH port and is simplest for tooling and support. | Rate-limit the port in the firewall and monitor authentication logs. |
| Use a different port | Removes much of the background scan traffic. | Open the new port before reloading SSH, update every client and keep an existing session open while testing. |
If you change it, edit the SSH configuration, add the new port to the firewall, validate with sshd -t, reload SSH, and connect from a second terminal. Never close the working session first.
Set a default-deny firewall
Start by denying unsolicited inbound traffic and allowing outbound traffic. Open only services that the VPS actually provides. A typical web server needs SSH, HTTP and HTTPS; a database should not be exposed publicly merely because an application uses it.
- Set policies:
sudo ufw default deny incomingandsudo ufw default allow outgoing. - Allow the administrative port. For the standard port, use
sudo ufw limit 22/tcp; for a custom port, substitute that port number. - Allow web traffic only when required:
sudo ufw allow 80/tcpandsudo ufw allow 443/tcp. - Enable the firewall with
sudo ufw enable, then inspect it withsudo ufw status verbose.
The limit rule rate-limits repeated connections to SSH; it does not replace keys or account hardening. Add rules for other services only when you can name the client that needs them and the reason they must be reachable.
Verify from outside the VPS
A local status display cannot prove that a provider-level rule, a container, or another packet-filtering path is behaving as intended. From a different machine or network, scan the public address with an external tool such as:
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
nmap -Pn -p- your.server.ip
Compare the result with the ports you intentionally opened. If an unexpected port is visible, identify the owning process with sudo ss -tulpn, inspect provider networking controls, and check container mappings before adding more firewall rules.
Add brute-force protection with Fail2ban
Fail2ban watches authentication logs and temporarily bans addresses that repeatedly fail. Install it with the package manager, for example sudo apt update && sudo apt install fail2ban on Ubuntu or Debian.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Create a local jail configuration rather than editing the package’s base file. A minimal SSH jail in /etc/fail2ban/jail.d/sshd.local can enable the SSH filter:
[sshd]
enabled = true
Restart the service with sudo systemctl restart fail2ban and inspect it using sudo fail2ban-client status and sudo fail2ban-client status sshd. Confirm that the jail is reading the correct authentication log for your distribution. Allow-list your administration network only if you can maintain that list safely; an incorrect allow-list can defeat the control.
Fail2ban is a response to repeated failures, not a replacement for key-only SSH, a firewall or timely patching. Watch its logs when diagnosing a legitimate user who has been banned.
Patch immediately, then automate security updates
Apply the first full update
New VPS images can contain packages that were released with known vulnerabilities. On the first login, run:
Recommended Free Tools
sudo apt update
sudo apt full-upgrade
Review removals and configuration-file prompts rather than blindly accepting every change. Reboot when the kernel or another core component requires it, and verify that SSH, the firewall and the application return after the reboot.
Enable unattended security updates on Ubuntu
On Ubuntu, unattended-upgrades is installed by default and applies security updates automatically. Its schedule and origins are controlled in:
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
/etc/apt/apt.conf.d/50unattended-upgrades, which selects update origins and related behavior./etc/apt/apt.conf.d/20auto-upgrades, which enables the periodic update jobs.
The job runs once per day by default. Review the files instead of assuming that every package or release is covered. Logs are written to /var/log/unattended-upgrades/unattended-upgrades.log.
To simulate an installation without changing packages, run:
sudo unattended-upgrade --dry-run --debug
A dry run reports what would happen; it does not create a backup and does not install updates. Check the log after a real run and investigate packages that remain held back.
Make reboot behavior explicit
Security updates can require a reboot. Decide whether reboots are performed manually during a maintenance window or automatically under a policy you have verified against the current Ubuntu manpage. A third-party guide may show an option whose name or behavior changes between releases, so confirm the exact setting on the installed version before enabling unattended reboots. Whatever policy you choose, monitor uptime and confirm that critical services restart correctly.
Automatic versus manual patching
| Approach | Strength | Risk to manage |
|---|---|---|
| Automatic security patches | Shortens the period in which a known security fix is waiting to be installed. | Reboots, held packages and service changes need an explicit review and recovery plan. |
| Manual patching only | Gives an administrator control over timing and every package change. | A missed maintenance window leaves the VPS exposed longer. |
Debian installations and non-Ubuntu releases may not have the same package or defaults. Check their documentation, install the update service when needed, and verify its timer and log location.
Understand why Docker ports can bypass UFW
Published container ports can be reachable even when ufw status shows no matching allow rule. The traffic may be processed through the forwarding path and Docker-managed chains rather than the host’s normal INPUT path. This behavior is reported by community guides and should be checked against the Docker documentation for the installed release.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Inspect the actual publication
List containers and their port mappings with docker ps. A mapping such as 0.0.0.0:8080->80/tcp publishes the container on every host interface. UFW rules alone do not tell you whether a container has created such a path.
Keep internal services on localhost
When only a local reverse proxy or process needs a container, bind the host side to loopback:
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
docker run -p 127.0.0.1:8080:80 image-name
With no IP address in the publication, Docker normally binds to all host interfaces. Binding to 127.0.0.1 keeps that port off the public interface; expose only the reverse proxy’s intended public ports.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Choose a firewall-aware control
| Option | Use it when | Important detail |
|---|---|---|
Bind to 127.0.0.1 |
The service does not need direct internet access. | Simple and easy to verify with an external scan. |
| DOCKER-USER chain rules | You need network filtering for published containers. | Rules are evaluated after destination rewriting, so match the container port rather than assuming the host-side port remains the destination. |
A helper such as ufw-docker |
You want a maintained integration between UFW policy and Docker chains. | Verify its rules on the installed versions and test after upgrades. |
Disabling Docker’s iptables management is reported to break container networking, so most guides avoid that workaround. Rules added by hand do not necessarily survive a reboot or container restart. Persist approved rules with a mechanism such as iptables-persistent, a systemd unit, or the integration tool you selected, then rescan from outside.
Build backups that can actually restore the VPS
A copy on the same host is not a recovery plan. Keep backups off the VPS, protect them from unauthorized access, and test a restore on a separate location. The test is what proves that the archive is complete, readable and usable.
Back up data and the configuration that makes it usable
Include application data, user data, deployment files and secrets according to your retention and access policy. Also save the configuration that controls access and filtering, especially:
/etc/ssh/sshd_configand any SSH drop-in files.- UFW rules and any persistent iptables or Docker-chain rules.
- Service configuration, systemd units, scheduled jobs and package lists.
- Database dumps made with the database’s supported dump tool, rather than relying only on a live file copy.
Encrypt archives before sending them to remote storage, restrict who can read the backup location, and keep credentials for the backup destination separate from the VPS. A backup process that can be deleted with the server’s own credentials provides weak protection against a compromised host.
Separate the archive from the source
A simple archive-and-copy pattern is:
sudo tar czf /var/tmp/vps-config-and-data.tgz /etc /home /srv
rsync -a /var/tmp/vps-config-and-data.tgz backup-user@backup-host:/srv/vps/
Adapt the paths to the services you run, exclude transient caches and sockets, and use your database’s export command for databases. The example creates an archive and copies it; it does not by itself encrypt, schedule, rotate or verify backups. Add those controls deliberately instead of assuming the command is a complete backup system.
Test a restore, not just a job
- Obtain a clean test VPS or isolated recovery environment.
- Download a selected backup and verify that it can be read and extracted.
- Restore configuration, application files and database dumps.
- Recreate the non-root SSH access and firewall policy before exposing the test host.
- Start the application, exercise a representative transaction and check permissions, ownership and scheduled jobs.
- Record what was missing or manual, then update the backup procedure.
Schedule restore drills often enough that the procedure remains familiar. A successful dry run of an update command or a zero-error backup log is not evidence that a usable restore exists.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Monitor and audit the VPS after hardening
Hardening is a recurring process. Install an audit tool such as Lynis and run sudo lynis audit system periodically. Review its findings, but treat recommendations as items to assess rather than a license to apply every setting blindly.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Review authentication and service logs for failed logins, unexpected users, package errors and repeated service restarts. Useful starting points include journalctl -u ssh, journalctl -u fail2ban and the unattended-upgrades log. Check listening sockets with ss -tulpn after installing or updating software, because a new service or container can change the attack surface.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Repeat an external port scan after firewall, Docker or provider-network changes. Confirm that the result still contains only the services you intend to publish.
Common failure modes and safe fixes
You are locked out after changing SSH
Keep the original session open during changes. If both new connections fail, use the provider’s emergency console, restore the last known-good SSH configuration, run sshd -t, and reload the service. Check that the firewall allows the configured port and that the user owns the correct public-key file.
The firewall says active, but a container is public
Inspect docker ps for host bindings, check whether the service is bound to 0.0.0.0, and examine Docker’s forwarding chains. Bind non-public services to loopback or enforce a rule in the appropriate Docker chain. Rescan externally after the change.
Updates are enabled but packages remain vulnerable
Read the unattended-upgrades log, run the dry-run command, and look for held packages, repository errors or a release whose security origin is not selected. Perform a supervised full upgrade when necessary and reboot if the updated kernel requires it.
A backup exists but cannot be restored
Use a clean test environment to verify extraction, database integrity, file ownership and service configuration. Add missing SSH, firewall and application configuration to the backup set, and document each manual recovery step.
A practical operating rule
For a Linux VPS, security is the combination of restricted access, minimal exposure, fast patching and proven recovery. Key-only SSH with root and password logins disabled is the baseline; a default-deny firewall and Fail2ban reduce exposure and abuse; unattended security patches reduce waiting time for fixes; Docker publication must be checked outside UFW’s normal input rules; and off-server backups matter only after a restore test succeeds. Recheck those controls after every distribution upgrade, firewall change, container deployment or recovery exercise.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




