---
title: "How to Host an SCP:SL Server: Step-by-Step Guide | VulCode"
description: "How to host an SCP:SL server on Linux: requirements, SteamCMD and app 996560, LocalAdmin in tmux, the UDP port, the config and verification."
url: "https://vulcode.com/en/blog/scp-sl-server"
lang: "en"
---

[Home](https://vulcode.com/en) [Resources](https://vulcode.com/en/resources) [Blog](https://vulcode.com/en/blog) [Guides](https://vulcode.com/en/blog?category=guides)

# 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.

[Free quote](https://vulcode.com/en/quote) [Full pricing](https://vulcode.com/en/services/pricing)

## What you will do

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

- Linux **Packages and a user** SteamCMD, tmux, .NET 9 and a separate account.

- SteamCMD **App 996560** The server downloaded anonymously.

- LocalAdmin **Server in tmux** Keeps running after SSH closes.

- Northwood **Verification** The 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

- 02 Install the .NET runtime

- 03 Create a user for the server

- 04 Download the server with SteamCMD

- 05 Open the UDP port

- 06 Run LocalAdmin in tmux

- 07 Set the name, description and contact

- 08 Update with one script

- 09 Submit the server for verification

### 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.

bash

Copy

`sudo apt updateecho "deb http://deb.debian.org/debian trixie main non-free" | sudo tee /etc/apt/sources.list.d/non-free.listsudo dpkg --add-architecture i386sudo apt updatesudo apt install lib32gcc-s1 steamcmd tmux libicu76`

### Install the .NET runtime

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.

bash

Copy

`wget https://packages.microsoft.com/config/debian/13/packages-microsoft-prod.deb -O packages-microsoft-prod.debsudo dpkg -i packages-microsoft-prod.debrm packages-microsoft-prod.debsudo apt-get updatesudo apt-get install -y dotnet-runtime-9.0`

### Create a user for the server

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.

bash

Copy

`sudo useradd -m scpsl-serversudo passwd scpsl-serversudo -u scpsl-server -scd ~echo 'export PATH="/usr/games:$PATH"' >> ~/.bashrcsource ~/.bashrcmkdir -p ~/steamcmd/scpsl`

### Download the server with SteamCMD

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.

bash

Copy

`steamcmd +force_install_dir /home/scpsl-server/steamcmd/scpsl +login anonymous +app_update 996560 validate +quit`

**Note**

You install a beta with app_update 996560 -beta <name> validate. Northwood announces available beta branches on the official SCP:SL Discord.

### Open the UDP port

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

Copy

`# with ufwsudo ufw allow 7777/udp# or with nftables / iptablessudo iptables -A INPUT -p udp --dport 7777 -j ACCEPT`

### 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

Copy

`tmux new -s scpslcd ~/steamcmd/scpsl./LocalAdmin 7777# detach from the session: Ctrl+B, then D# come back: tmux attach -t scpsl`

### 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

Copy

`# ~/.config/SCP Secret Laboratory/config/7777/config_gameplay.txtserver_name: VulCode test serverserverinfo_pastebin_id: YourPastebinIdcontact_email: admin@yourdomain.commax_players: 20`

### 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

Copy

`#!/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`

### 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

Copy

`!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 Tool oslist: windows,linux branches: early-server-build, experimental, public

- **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](https://vulcode.com/en/services/game-plugins) 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.

[See the project](https://vulcode.com/en/work/case-studies/flaem)

a hosting client panel on a phone: an SCP:SL 2 GB server runs next to a suspended Minecraft server

dedicated.json

Copy

`{ "slug": "scp-sl-dedicated", "name": "SCP: Secret Laboratory", "docker_image": "ghcr.io/parkervcp/steamcmd:debian", "startup_invocation": "./LocalAdmin ${SERVER_PORT}", "process_configuration": { "startup": { "done": ["Waiting for players.."] }, "stop": { "type": "command", "value": "EXIT" } }, "install": { "container_image": "ghcr.io/pterodactyl/installers:debian", "script": "... ./steamcmd.sh +force_install_dir /mnt/server +login anonymous +app_update 996560 validate +quit\nmkdir -p /mnt/server/.steam/sdk32 /mnt/server/.steam/sdk64\ncp -f linux32/steamclient.so /mnt/server/.steam/sdk32/steamclient.so\ncp -f linux64/steamclient.so /mnt/server/.steam/sdk64/steamclient.so" }}`

## Common errors

Symptom, cause and fix, with the number of the step where the error shows up.

| Step | Symptom | Cause | Fix |
| --- | --- | --- | --- |
| 01 | Permission denied when writing the repository file | sudo echo "..." > file: the shell performs the redirect without root. | echo "..." / sudo tee /etc/apt/sources.list.d/non-free.list |
| 03 | passwd: user 'scpsl' does not exist | A typo in the wiki: the user is called scpsl-server. | sudo passwd scpsl-server |
| 04 | steamcmd: command not found | No /usr/games in the scpsl-server user's PATH. | Add export PATH="/usr/games:$PATH" to ~/.bashrc and run source ~/.bashrc. |
| 05 | Nobody outside the network can join | The port is open for TCP, or closed on the provider's firewall. | Open the port for UDP, also in the server provider's panel if it has its own firewall. |
| 06 | LocalAdmin cannot find the server | 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.

- **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](https://vulcode.com/en/quote) comes back within an hour.
- **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.
- **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.
- **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.
- **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.

- [Northwood tech wiki: How to create a Dedicated Server](https://techwiki.scpslgame.com/books/server-guides/page/1-how-to-create-a-dedicated-server) techwiki.scpslgame.com

- [Northwood tech wiki: Gameplay Config Setup](https://techwiki.scpslgame.com/books/server-guides/page/2-gameplay-config-setup) techwiki.scpslgame.com

- [Northwood tech wiki: How do I verify my server?](https://techwiki.scpslgame.com/books/server-guides/page/4-how-do-i-verify-my-server-a-step-by-step-guide) techwiki.scpslgame.com

- [LocalAdmin V2 (northwood-studios)](https://github.com/northwood-studios/LocalAdmin-V2) github.com

## What next

The services and solutions in which we build this for companies.

- ### [Game plugins and scripts](https://vulcode.com/en/services/game-plugins)
  Custom plugins and scripts for your Minecraft, FiveM or SCP: Secret Laboratory server, with shop, Discord and panel integrations. From PLN 299.

- ### [Game servers](https://vulcode.com/en/solutions/game-servers)
  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.

Other guides

- [**Installing the Pterodactyl panel**](https://vulcode.com/en/blog/pterodactyl-panel-install)Panel 1.15 with PHP 8.3, MariaDB and Redis, a Wings node on Docker and the first server.

- [**A Discord bot in Python**](https://vulcode.com/en/blog/discord-bot-python)From the Developer Portal application to slash commands, embeds and a bot in a container.

Tools

- [**SCP:SL Remote Admin config generator**](https://vulcode.com/en/tools/scp-sl-remote-admin-ranks)Build 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 converter**](https://vulcode.com/en/tools/steam-id-converter)Convert 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.

Glossary terms

- [**VPS**](https://vulcode.com/en/blog/glossary#vps)

- [**Pterodactyl**](https://vulcode.com/en/blog/glossary#pterodactyl)

- [**Egg**](https://vulcode.com/en/blog/glossary#egg)

## Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
