How to host an SCP: Secret Laboratory server on Linux, step by step
You install the server with SteamCMD on Debian 13 or Ubuntu 26.04, run LocalAdmin in tmux, open the UDP port, set config_gameplay.txt and submit the server for verification. Following the Northwood tech wiki, with its two traps fixed.
You will set up an SCP: Secret Laboratory server on Linux that keeps running after the SSH session closes, has its own name and description in the server browser, an open port, and updates with one script. At the end you submit it for verification so it appears on the verified server list.
We follow the Northwood tech wiki. It has two traps that stop you halfway when you copy its commands: writing a file with sudo echo, and a typo in the user name. We fix both in the steps below.
Level
beginner
Code
Bash
Steps
9 steps
LinuxPackages and a userSteamCMD, tmux, .NET 9 and a separate account.
SteamCMDApp 996560The server downloaded anonymously.
LocalAdminServer in tmuxKeeps running after SSH closes.
NorthwoodVerificationThe server on the verified list.
What you need
Debian 13 or Ubuntu 26.04 on an x86 CPU
The wiki requires at least Debian 13 (Trixie) or Ubuntu 26.04 LTS. ARM CPUs are not supported and cannot run an SCP:SL server. The commands in this guide are for Debian 13; on Ubuntu 26.04 SteamCMD comes from the multiverse repository.
Resources
The minimum is 3 GB RAM, 2 cores and 4 GB of storage for a full 25-player server without plugins. For verification Northwood expects at least two physical cores, 4 GB of memory and 20 GB of storage.
Root or sudo access
You install packages as a sudo user and run the server from a separate account without admin rights.
A server outside your home, if you want verification
Northwood strongly advises against a verified server on a home connection: an open port and the verified list expose you to DDoS and doxxing. Use a VPS or a dedicated server.
What lives where on the server
Item
Value
Notes
Steam app
996560
SCP: Secret Laboratory Dedicated Server Tool, anonymous login
Server directory
/home/scpsl-server/steamcmd/scpsl
Run LocalAdmin from this directory
Game config
~/.config/SCP Secret Laboratory/config/<port>/
separate for each port
Game port
7777
UDP, not TCP or TCP/UDP
Step by step
Each step with commands to copy. The list on the left shows where you are.
01
Install the packages
SteamCMD lives in the non-free repository and needs 32-bit libraries, hence the i386 architecture. tmux keeps the server alive after SSH closes, and libicu76 is needed by the .NET runtime.
The wiki writes the repository file with sudo echo "..." > file. That fails: your shell performs the redirect, without root rights, and you get Permission denied. Below is the same entry written through sudo tee.
The wiki heading says .NET 4.8, but the commands install dotnet-runtime-9.0 from Microsoft's Debian 13 repository. On Linux that package is what you need.
The server runs from the scpsl-server account, not root. In the wiki the second command is sudo passwd scpsl, a password for a user that does not exist. The right name is scpsl-server.
You add /usr/games to PATH because that is where Debian installs the steamcmd command.
App 996560 is a vanilla server with the Northwood Plugin API plugin framework built in. No Steam account is needed: you log in anonymously. The same command with validate is what you use for updates later.
An SCP:SL server takes players over UDP. The Northwood wiki stresses it: open the port for UDP, not TCP or TCP/UDP. The example uses port 7777, which you also pass to LocalAdmin as its argument.
bash
# with ufwsudo ufw allow 7777/udp# or with nftables / iptablessudo iptables -A INPUT -p udp --dport 7777 -j ACCEPT
06
Run LocalAdmin in tmux
LocalAdmin is the program that starts the server and gives you its console. It takes the port as the first argument and looks for the server files in the current directory, so cd first, then ./LocalAdmin. On first start it asks a few configuration questions.
bash
tmux new -s scpslcd ~/steamcmd/scpsl./LocalAdmin 7777# detach from the session: Ctrl+B, then D# come back: tmux attach -t scpsl
07
Set the name, description and contact
config_gameplay.txt lives in the home directory of the user running LocalAdmin, separately for each port. Verification needs four fields: server_name, serverinfo_pastebin_id with the id of a Pastebin entry holding your rules and contact, contact_email, which you have to add by hand, and max_players (20 by default; a verified server can normally have at most 60 slots).
config_gameplay.txt
# ~/.config/SCP Secret Laboratory/config/7777/config_gameplay.txtserver_name: VulCode test serverserverinfo_pastebin_id: YourPastebinIdcontact_email: admin@yourdomain.commax_players: 20
08
Update with one script
After every game update the server has to match the clients' version. The script stops the server in the tmux session, runs SteamCMD with validate and starts LocalAdmin again.
update.sh
#!/bin/bash# ~/update.sh: stop the server in tmux, update, start it againtmux send-keys -t scpsl "stop" Entersleep 15steamcmd +force_install_dir /home/scpsl-server/steamcmd/scpsl +login anonymous +app_update 996560 validate +quittmux send-keys -t scpsl "cd ~/steamcmd/scpsl && ./LocalAdmin 7777" Enter
09
Submit the server for verification
Verification is a commitment: the verified list is for servers that are up almost all the time and follow the Community Server Guidelines. The preferred method is a command in the server console that checks the connection from Northwood's servers.
If that fails, email safety.compliance@scpslgame.com from the contact_email address with your public IPv4 address, whether it is static or dynamic, and the port. The answer takes 3 to 7 business days, and at the end a link to sign the guidelines appears in the console.
LocalAdmin
!verify static # the server has a static IP address!verify dynamic # the server has a dynamic IP address
How to check it works
The commands follow the Northwood tech wiki, with its two errors fixed. The public SteamCMD data of app 996560 shows the SCP: Secret Laboratory Dedicated Server Tool for Windows and Linux, with the public, experimental and early-server-build branches.
Environment
Public SteamCMD data from api.steamcmd.net
Result
App 996560 matches the guide
What you should see
SteamCMD finishes with Success! App '996560' fully installed.
LocalAdmin starts without errors and the server shows up in the game's server browser.
After detaching from tmux and closing SSH the server keeps running.
The Pastebin description shows in the pause menu on the server.
SteamCMD app info 996560
Command
curl -s https://api.steamcmd.net/v1/info/996560
Output
name: SCP: Secret Laboratory Dedicated Server Tooloslist: windows,linuxbranches: early-server-build, experimental, public
2
App 996560
This is the SCP: Secret Laboratory Dedicated Server Tool, the one you download in step 4.
3-4
Systems and branches
The server is for Windows and Linux, with the public, experimental and early-server-build branches.
The same server as an egg in Flaem
How it looks in our project
Hand it over when you want an SCP:SL server with plugins for your own community instead of putting everything together yourself. We write a custom plugin from PLN 299.
In Flaem an SCP:SL server is installed from an egg, a server install recipe. It does what the guide does: SteamCMD with app 996560 and an anonymous login, then ./LocalAdmin started with the port assigned to the server.
Two things are added in the container: copying steamclient.so into .steam/sdk32 and sdk64, as the community SteamCMD eggs do, and the panel rules: the server counts as started when "Waiting for players.." appears in the console, and stops with the EXIT command.
Started outside the directory with the server files.
First cd ~/steamcmd/scpsl, then ./LocalAdmin.
Frequently asked questions
The questions that come up with this setup.
01
How much does a custom SCP:SL server plugin cost?
We write a game plugin or script from PLN 299. We set the price after you describe the features, and a free quote comes back within an hour.
02
Can I host an SCP:SL server on Windows?
Yes. The wiki covers installing through the Secret Laboratory Dedicated Server tool in the Steam library or through SteamCMD, on Windows 8.1 and 10. Windows 11 is not officially supported but should work according to the wiki.
03
How many players will the server hold?
max_players defaults to 20. The wiki's minimum requirements assume a full 25-player server without plugins. A verified server can normally have at most 60 slots.
04
Is verification mandatory?
No. Without it the server works and players join if they know the address. Verification puts it on the verified list, which is meant to help build a community, and commits you to Northwood's rules.
05
How do I add plugins?
You put the plugin's .dll file in the framework's plugins directory and restart the server. Every plugin raises the requirements above the wiki minimum, and the exact steps depend on the documentation of the framework the plugin uses.
Sources
The documentation and specifications we compared the commands with.
A Minecraft, FiveM and SCP:SL server website with a store, instant in-game delivery, player stats and a Discord bot. From PLN 1,999, usually 3-6 weeks.
A Discord bot in PythonFrom the Developer Portal application to slash commands, embeds and a bot in a container.
Tools
SCP:SL Remote Admin config generatorBuild SCP:SL Remote Admin ranks: set a name, color and badge, tick permissions and copy a ready block for config_remoteadmin.txt. Free, in your browser.
Steam ID converterConvert a Steam ID between SteamID64, STEAM_0:X:Y, [U:1:N] and the @steam format used by SCP:SL. Paste any format and copy the one you need. Free.