Job

Harden one Linux server: key-only SSH, a firewall and automatic security updates

One Debian or Ubuntu server gets key-only SSH, a deny-by-default firewall and automatic security updates, each checked from outside. It is not a penetration test or a certification.

What you get

  • The changed configuration, as files and a plain-language list of what each change does
  • A verification sheet: effective SSH settings, the outside port check, the update dry run and the timer status
  • The steps to revert SSH, firewall and update changes, and a list of anything found that is outside this scope
Price
$385Fixed price
You pay
After the agreed checks pass and you sign off.
Term
One job
How soon
We set up the day after you ask and start work within three days.

No passwords, keys, card details or admin invites needed to start.

Price and terms in full

$385 Fixed price

You pay
After the agreed checks pass and you sign off. No advance payment.
Includes
One Debian or Ubuntu server; Key-only SSH, firewall and automatic security updates, each verified; The verification sheet and revert steps
Term
One job
Technology
Linux, SSH, ufw, Unattended-upgrades, Debian, Ubuntu
Delivery
Start window and delivery date agreed in writing after eligibility and access checks.

Nothing is charged or booked when you send your details. The written quote confirms the total price and any tax before you accept.

What usually happened

You might be seeing

  • Password login for SSH still works from anywhere
  • Nobody can list which ports are reachable from the internet
  • Nobody knows when the last security update was installed or whether one is waiting for a reboot

Who it’s for: A founder or small team that runs a VPS themselves and cannot say who can log in, which ports are open to the internet or whether security updates are being installed.

The result: On one server, SSH accepts only the named public keys and refuses password logins, the firewall denies incoming traffic except the ports you list, and security updates install automatically under a reboot policy you chose. Each setting is checked on the effective configuration and from outside the server. This is a configuration baseline, not a penetration test or a compliance certification.

When it starts, and why it happens

Usually starts when: The server went live with the provider's defaults, a former contractor may still have access, or a customer or investor asked what protects the server.

A new VPS is usually reachable over SSH with whatever the provider enabled, services listen on more ports than anyone intended, and updates are applied only when someone remembers. Changing SSH settings or the firewall in the wrong order can lock the owner out of their own server, a later setting in a drop-in file can quietly undo an earlier one, and ports published by Docker can sit outside the host firewall's rules.

What you get

Included

  • One Debian or Ubuntu server with a release that still receives security updates
  • SSH: key-only login for named administrator accounts, password and keyboard-interactive login off, root login by password off, verified on the effective configuration
Show 3 more
  • Firewall: default deny for incoming traffic with allow rules for the ports you list, covering IPv4 and IPv6, and a check of any port published by containers
  • Automatic security updates: enabled for the security origin with a dry run, a log check and a reboot policy you choose
  • A verification sheet and the steps to revert each change

Not included

  • Penetration testing, vulnerability scanning, a compliance audit or any certification (for example SOC 2, ISO 27001 or PCI)
  • Investigating or cleaning a server you think has been compromised
  • Web server, database, TLS and application hardening
Show 2 more
  • Ongoing patching and review: that is the monthly server patch and review service
  • VPNs, bastion hosts, intrusion detection and multi-server network design

How we know it’s done

Agreed with you before work starts. Each check produces evidence you keep.

Linux server baseline: 6 checks and the evidence you keep6 checks, each with the evidence you keep: 1 Password login off; outside password attempt refused (evidence: Test-mode output, the refused attempt); 2 Each administrator logs in with their own key (evidence: Session logs, each administrator, refused key); 3 Only agreed ports accept connections from outside (evidence: Table of tested ports and results); 4 Update dry run completes without error; timers enabled (evidence: Dry-run output and the timer listing); 5 Reboot setting shown; handover states whether restart pending (evidence: Configuration lines and pending-restart check); 6 Revert steps restore previous SSH and firewall settings (evidence: Revert transcript, settings before and after). When all pass: sign-off (Second login works; port check, dry run pass). When a check fails: You do not pay, keep the findings.What we checkEvidence you keep1 Password login off; outside password attemptrefusedTest-mode output, the refused attempt2 Each administrator logs in with their own keySession logs, each administrator, refused key3 Only agreed ports accept connections fromoutsideTable of tested ports and results4 Update dry run completes without error; timersenabledDry-run output and the timer listing5 Reboot setting shown; handover states whetherrestart pendingConfiguration lines and pending-restart check6 Revert steps restore previous SSH and firewallsettingsRevert transcript, settings before and afterAll pass: sign-offSecond login works; port check, dry run passA check failsYou do not pay, keep the findingsYou decide here Linux server baseline: 6 checks and the evidence you keep6 checks, each with the evidence you keep: 1 Password login off; outside password attempt refused (evidence: Test-mode output, the refused attempt); 2 Each administrator logs in with their own key (evidence: Session logs, each administrator, refused key); 3 Only agreed ports accept connections from outside (evidence: Table of tested ports and results); 4 Update dry run completes without error; timers enabled (evidence: Dry-run output and the timer listing); 5 Reboot setting shown; handover states whether restart pending (evidence: Configuration lines and pending-restart check); 6 Revert steps restore previous SSH and firewall settings (evidence: Revert transcript, settings before and after). When all pass: sign-off (Second login works; port check, dry run pass). When a check fails: You do not pay, keep the findings.1 Password login off; outsidepassword attempt refusedEvidence: Test-mode output, the refusedattempt2 Each administrator logs in withtheir own keyEvidence: Session logs, each administrator,refused key3 Only agreed ports acceptconnections from outsideEvidence: Table of tested ports and results4 Update dry run completes withouterror; timers enabledEvidence: Dry-run output and the timerlisting5 Reboot setting shown; handoverstates whether restart pendingEvidence: Configuration lines andpending-restart check6 Revert steps restore previous SSHand firewall settingsEvidence: Revert transcript, settings beforeand afterAll pass: sign-offSecond login works;port check, dry runpassA check failsYou do not pay,keep the findingsYou decide here
The checks we run, the evidence you keep for each, and what happens next. Drawn from the checks on this page.
The 6 checks in full, with the evidence you keep
  1. The effective SSH configuration shows password and keyboard-interactive login off and root login by password off, and a password login attempt from outside is refused.

    Evidence: The test-mode output for those settings and the refused attempt.

    ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no admin@server.yourbusiness.co.uk
  2. Each named administrator logs in with their own key in a second session opened before the first was closed, and a key that is not on the list is refused.

    Evidence: Session logs for each administrator and for the refused key.

  3. From outside the server only the agreed ports accept connections on IPv4 and IPv6, and every other tested port is closed or filtered. Any port published by a container is listed with its result.

    Evidence: A table of tested ports and results from a machine outside the server.

  4. The automatic update dry run lists the security origin as allowed and completes without error, and the update timers are enabled.

    Evidence: Dry-run output and the timer listing.

    sudo unattended-upgrade -v --dry-run
  5. The reboot setting you chose is shown in the configuration, and the handover states whether a restart is pending on the server today.

    Evidence: The configuration lines and the pending-restart check.

  6. Following the revert steps on the rehearsal copy restores the previous SSH and firewall settings.

    Evidence: Revert transcript with the effective settings before and after.

Sign-off. You sign off after your second login works, the outside port check and the update dry run pass, and you have the revert steps. Payment follows sign-off.

If it fails. If an agreed check fails and cannot be fixed within the scope, you do not pay for this fixed scope and you keep the findings. If a safe way back into the server does not exist, we stop before any change.

How we deliver

We arrange the work and independent review, then show you the result against the agreed checks. You keep authority over your systems.

Linux server baseline: how it is delivered, step by stepSteps in order: 1 Agree in writing (administrators, ports, reboot policy, recovery route); 2 Rehearse the changes (on a snapshot copy of the same release); 3 Set key-only login (read effective SSH configuration, including drop-in files); 4 Add firewall rules (SSH allow rule before firewall is switched on); 5 Enable security updates (automatic; run the dry run); 6 Independent review (second login tested before first session closes); 7 sign-off (Second login works; port check, dry run pass). You decide at step 1 and the sign-off. We stop and tell you if any of the 4 conditions listed on this page applies.1 Agree in writingadministrators, ports,reboot policy, recoveryroute2 Rehearse thechangeson a snapshot copy ofthe same release3 Set key-only loginread effective SSHconfiguration, includingdrop-in files4 Add firewall rulesSSH allow rule beforefirewall is switched on5 Enable securityupdatesautomatic; run the dryrun6 Independentreviewsecond login testedbefore first sessioncloses7 Sign-offSecond login works;port check, dry run passWe stop and tell you ifany of the 4 conditions listed on this page appliesYou decide here Linux server baseline: how it is delivered, step by stepSteps in order: 1 Agree in writing (administrators, ports, reboot policy, recovery route); 2 Rehearse the changes (on a snapshot copy of the same release); 3 Set key-only login (read effective SSH configuration, including drop-in files); 4 Add firewall rules (SSH allow rule before firewall is switched on); 5 Enable security updates (automatic; run the dry run); 6 Independent review (second login tested before first session closes); 7 sign-off (Second login works; port check, dry run pass). You decide at step 1 and the sign-off. We stop and tell you if any of the 4 conditions listed on this page applies.1 Agree in writingadministrators, ports, reboot policy, recoveryroute2 Rehearse the changeson a snapshot copy of the same release3 Set key-only loginread effective SSH configuration, includingdrop-in files4 Add firewall rulesSSH allow rule before firewall is switched on5 Enable security updatesautomatic; run the dry run6 Independent reviewsecond login tested before first session closes7 Sign-offSecond login works; port check, dry run passWe stop and tell you ifany of the 4 conditions listed on this pageappliesYou decide here
How we deliver it, in order. A box with a coloured border is where you decide. Drawn from the delivery steps on this page.
The 6 delivery steps in full
  • Agree the administrators, the ports to keep open, the reboot policy and the recovery route in writing
  • Rehearse the changes on a snapshot copy of the same operating system release
  • Read the effective SSH configuration, including any included drop-in files, and set key-only login so the order of files cannot undo it
  • Add the firewall rules, with the SSH allow rule in place before the firewall is switched on, and check IPv4 and IPv6
  • Enable automatic security updates and run the dry run
  • Independent review, then a second login is tested before the first session closes; the outside port check and update checks follow

This is a one-off job, not emergency cover or a subscription. We confirm eligibility, the total price, a start window and a delivery date before you accept. Work starts only after agreed inputs, secure access, any licences and necessary permissions are in place. Hosting, platform and supplier charges are excluded unless the written quote includes them. No charge or booking is created by sending a message.

When it fits, and when we stop

It fits when

  • You have a provider console, rescue mode or snapshot restore that works even if SSH stops working
  • The server runs Debian or Ubuntu with systemd and apt
Show 2 more
  • You can name every administrator and give a public key for each, and list the ports that must stay open
  • You can give a short window to test a second login before the first session is closed

We stop and tell you if

  • There is no way back into the server if SSH or the firewall is misconfigured
  • There are signs of compromise, such as unknown accounts, unknown processes or unexpected outgoing connections
Show 2 more
  • A service on the server needs password SSH logins and cannot move to keys
  • The server is not Debian or Ubuntu: other distributions use other tools and are quoted separately

Check whether this job fits

Four checks that decide whether this fixed job fits. Your answers stay on this page unless you choose to email them.

Answer 4 questions to see if it fits
If SSH stopped working, could you still reach the server?
What does the server run?
Does the server run containers that publish ports?
Do you suspect someone has already broken in?

Answer the questions to see whether this job fits.

Nothing is sent anywhere until you choose to email us.

Ask about this job

Checks you can run yourself
  1. See what is listening

    Run this on the server. It lists listening sockets and does not change anything.

    ss -tuln

    Look for: Entries on 0.0.0.0 or [::] with ports you do not recognise. Those listen on every interface and are limited only by the firewall.

  2. Read the effective SSH settings

    This prints the settings sshd would use, after every included file. It does not change them.

    sudo sshd -T | grep -E '^(passwordauthentication|kbdinteractiveauthentication|permitrootlogin|pubkeyauthentication) '

    Look for: passwordauthentication yes means password logins are accepted. permitrootlogin prohibit-password means root can log in only with a key.

What could go wrong

3 risks, and how we handle each

The change set records each file before and after. Restoring the saved SSH configuration and reloading the service, disabling the firewall, and removing the automatic-update settings each return the server to its earlier state. The provider console or snapshot is the route back if a mistake blocks SSH.

Scroll the table sideways to read it all.

RiskHow we handle it
A mistake in the SSH or firewall change locks you out of the server.Require a working console or snapshot route first, keep the first session open while a second login is tested, and apply the firewall only after the SSH allow rule exists.
A drop-in file overrides the setting that was changed, so the file looks right but the effective setting is not.Verify the effective settings with the SSH test mode, not the file. OpenSSH uses the first value it reads for a setting.
An automatic reboot interrupts a service at a bad time.Automatic reboot is off unless you choose it. If you do, you pick the time, and the handover states what restarts.

An independent reviewer reads the SSH and firewall changes and the order they are applied in, and confirms that a second login works before the first session is closed. You approve each live change.

Need to keep it working?

A full-time AI agent can look after this kind of work, or tell us what you want looked after when you ask.

What ongoing work would cover, and what it does not

To keep the server patched and reviewed afterwards, ask about the monthly server patch and review service. This job is a one-time baseline.

Ongoing work is separately scoped and quoted: no monitoring, response-time guarantee or automatic subscription is included in this job.

What you can check

Other ways to get this done
  • Canonical documents how unattended upgrades are configured on Ubuntu, including a dry run, which a technical team can follow itself. ubuntu.com
  • Many providers offer a network firewall in their control panel that you can set up without touching the server.

Questions

Is this a security audit?

No. It sets and verifies three specific controls on one server. It is not a penetration test, a vulnerability scan or a compliance certification, and we do not give a certificate.

What if I lock myself out?

That is why a provider console or snapshot is required first, and why a second login is tested before the first closes. If neither exists, we stop before changing anything.

Will the server reboot by itself?

Only if you choose it. Automatic reboot is off by default, and the handover states when a restart is pending.

Do you need my private key?

Never. We need public keys. You keep every private key.

Ask about this job

What to send us, what comes later, and who owns what

Send us

  • The provider, the operating system release and whether a console or snapshot restore exists
  • The ports that must be reachable, for example 22, 80 and 443
  • How many people log in over SSH and which of them need administrator rights
  • Do not send passwords, private keys or server logins in your first message

Later, once you agree

  • One public key per administrator (never a private key) and the name of the person who owns each
  • A rehearsal on a snapshot copy, or a time-limited administrator session that you open and close
  • The reboot window, and the address that should receive update reports if you want them
  • A company-controlled secure handoff agreed before access: no live passwords, keys, private code or customer records by ordinary email.

You own the server and every key. We never receive a private key. We rehearse the changes on a copy of the same operating system release, then either your administrator runs the change set and sends the output, or you open a time-limited administrator session that you close afterwards, agreed in writing. We keep an existing session open while a second login is tested.

Add detail (optional)

A web address anyone can open, with no login in it. No code or logs.

We reply by email. Sending this emails your request to our team; nothing is kept in a website database. Please do not send passwords, keys or customer records. Privacy notice.

Email fallback: open your mail app

If website submission is unavailable, review and send the fallback email yourself. An email fallback is not a website receipt. Or write to hello@syntheticindustry.ai and say which job you mean.

Last revised 13 October 2026