How to hire a freelance Linux sysadmin without handing over the keys
In this article8 sections
If your website, shop or application runs on a server you do not fully understand, sooner or later you will need someone who does. A full-time systems administrator is overkill for most small businesses, and a managed hosting plan does not cover custom software. A freelancer sits in between: you get senior skills for the days you need them.
It also means giving a stranger access to the machine that holds your customers’ data. This guide is for the person doing the hiring. It covers how to decide what you actually need, how to write a scope a freelancer can quote against, the questions that separate careful people from careless ones, and how to hand over access so that you can take it back in one command.
Start with the outcome, not the task
“Optimise my server” is not a task. It is a hope. The people worth hiring will ask you what is going wrong or what you are afraid of, and you should be able to answer in one sentence each. Typical outcomes:
- The site is slow or goes down under load. The deliverable is a measured before and after, plus the changes that explain the difference.
- I inherited a server and I do not know what is on it. The deliverable is an inventory: what runs, where the data lives, who has access, what is out of date, and a ranked list of risks.
- I am moving to a new host. The deliverable is a tested cutover plan, the move itself, and a way back if it goes wrong.
- I want it secure and backed up. The deliverable is a hardened server, encrypted backups stored somewhere else, and a restore that has been tested, not assumed.
- Email from my domain lands in spam. The deliverable is correct SPF, DKIM and DMARC records and proof from real inboxes.
Write down the outcome, how you will know it worked, and what is out of bounds (for example: “no changes during business hours” or “do not touch the database server”). That single paragraph removes most of the misunderstandings that make freelance projects go badly.
Write a scope that can be quoted
A good scope has five parts. You do not need technical language, only clarity.
- What exists today. Provider, operating system if you know it, the sites or apps on it, and roughly how many visitors you have.
- What you want to be true afterwards. The outcome from above, in plain words.
- What must not break. Checkout, a booking form, an API that a partner calls. Anything that costs money when it stops.
- Constraints. Deadlines, maintenance windows, budget ceiling, compliance requirements.
- How you will accept the work. A short checklist you will test yourself, such as “site loads in under two seconds from two countries”, “a backup restored to a test machine”, “a written handover”.
If the work is well defined, ask for a fixed price for that scope. If it is investigative (something is wrong and nobody knows why), an hourly or capped-hours arrangement is more honest. Be suspicious of a fixed quote for an investigation, and equally of an open-ended hourly arrangement with no report at the end.
Questions that reveal how someone works
You are not testing trivia. You are checking habits. Ask these and listen for specifics.
- “What will you do before you change anything?” The right answer includes a backup or snapshot, a note of the current configuration, and a way to undo each change. A freelancer who starts editing live configuration on the first day is a risk to you.
- “How do you want to access the server?” The right answer is a named account with key-based login and
sudorights, not your root password. More on this below. - “How will you tell me what you changed?” Look for a change log or written handover. If the plan is “I’ll fix it and tell you it is done”, you will be dependent on that person forever.
- “What happens if it goes wrong halfway?” You want to hear about rollback steps, not reassurance.
- “What would you not do, and why?” Experienced people have limits: they will say when something needs a developer, a different host, or a bigger budget. Someone who says yes to everything is selling, not engineering.
- “Can you show me something you wrote up?” Not a testimonial: an actual runbook, article or checklist. Writing clearly about a system is a good proxy for understanding it.
Red flags
Walk away, or at least slow down, when you see any of these:
- Asking for your root password in a chat message. Passwords in messages stay in message history. Ask for a proper account instead.
- Promising “zero downtime” with no plan. Zero downtime is possible for some changes and impossible for others. Someone who promises it without asking about your setup is guessing.
- Installing scripts from the internet that nobody has read. One-line installers have their place, but a professional reads what they run on your machine and tells you what it does.
- “Optimisation” with no measurements. If there is no baseline, there is no proof of improvement.
- Refusing to document. Documentation is the thing you are paying for after the work is done.
- Pressure to pay outside the platform. If you found someone through a marketplace, keep the contract and the payments there. The protection is part of what you are paying for.
Give access in a way you can take back
This is the part most people get wrong, and it is the part that protects you.
Do not share your own login. Create a separate account for the freelancer. On Ubuntu or Debian that is two commands, run by you or your host:
sudo adduser freelancer --disabled-password
sudo usermod -aG sudo freelancer
Then ask them to send you their public SSH key (never the private one) and add it to that account:
sudo -u freelancer mkdir -p /home/freelancer/.ssh
echo "ssh-ed25519 AAAA... freelancer@laptop" | sudo -u freelancer tee -a /home/freelancer/.ssh/authorized_keys
sudo chmod 700 /home/freelancer/.ssh
sudo chmod 600 /home/freelancer/.ssh/authorized_keys
A public key can safely travel through any chat, because it only lets a matching private key in. No password ever has to be shared.
Take a snapshot first. Almost every cloud provider has a one-click snapshot or image backup. Take one before the first login, and write down when. If something goes badly wrong, you can go back to that moment.
Know what they did. On a standard Ubuntu server every sudo command is logged. You can review it any time:
sudo journalctl _COMM=sudo --since "2 days ago" | tail -50
sudo grep -i 'sudo' /var/log/auth.log | tail -50
Revoke on the last day. When the project ends, remove the key and lock the account:
sudo usermod --lock freelancer
sudo rm /home/freelancer/.ssh/authorized_keys
sudo deluser --remove-home freelancer
Then rotate anything the freelancer could have seen: database passwords, API keys, application secrets. This is routine hygiene and no reflection on the person. A careful freelancer will remind you to do it.
Secrets deserve their own channel. If you must share a password or token, use a password manager’s sharing feature or a one-time secret link, and change it afterwards. Do not paste it into a ticket or an email thread.
What a good handover looks like
At the end of the work you should have, in writing:
- What was changed, with dates, so that the next person can follow the history.
- Where things live: web roots, configuration files, scheduled jobs, backup locations.
- How to restore: step by step, tested at least once.
- What is still risky and what the freelancer recommends doing next, with a rough priority.
- A list of credentials that were created or rotated, without the secrets themselves.
If you receive this, you are no longer dependent on the freelancer. That is the goal. Good people are happy to be replaceable because it means they did the job properly.
Fixed project, retainer or one-off fix?
- One-off fix: a specific error, a broken deployment, an outage. Fast, narrow, paid by the job.
- Fixed project: a hardening pass, a migration, a new server build. A defined scope with a handover.
- Light retainer: a few hours each month for patching, backup checks and a second opinion. This is usually the cheapest insurance for a small business, because most disasters begin as a boring problem that was left alone for six months.
Where I can help
I work with Linux servers on Ubuntu and NGINX, with WordPress and Laravel sites, email and DNS, backups, security hardening and migrations. I work the way this article describes: named account, snapshot first, change log, tested rollback, written handover.
If you have a server you are unsure about and want a clear scope and a straight answer, you can see my profile on Upwork and send a short description of what you have. For the same work as a defined package, see server hardening or the free server health check, which gives you a score and a list of gaps in about five minutes.