LogoLogo
  • Home
  • Getting Started
  • Configuration
    • LinuxGSM Config
    • Game Server Config
    • Start Parameters
    • cronjobs
    • Running on Boot
    • Running Multiple Game Servers
    • IP Address Configuration
    • LinuxGSM Stats
  • Commands
    • install
    • start-stop-restart
    • monitor
    • test-alert
    • console
    • debug
    • update
    • check-update
    • force-update
    • validate
    • update-lgsm
    • backup
    • map-compressor
    • details
    • mods
    • skeleton
    • fastdl
    • change-password
  • Game Servers
    • 7 Days to Die
    • Arma 3
    • ARK: Survival Evolved
    • Call of Duty 4
    • Dont Starve Together
    • Counter-Strike 2
    • Counter-Strike: Global Offensive
    • Factorio
    • Garry's Mod
    • Insurgency: SandStorm
    • Killing Floor 2
    • Minecraft: Java Edition
    • Multi Theft Auto
    • Rust
    • Sven Co-op
    • Trackmania Nations Forever / Trackmania United Forever
    • TeamSpeak 3
    • Unreal Tournament 99
    • Unreal Tournament 2004
    • Unreal Tournament 3
    • Valheim
    • Xonotic
    • The Front [WIP]
  • Networking
    • IP Address
    • Ports
    • Source Engine
  • Alerts
    • Discord
    • Email
    • IFTTT
    • Pushbullet
    • Pushover
    • Rocket.Chat
    • Slack
    • Telegram
  • Dependencies
    • Java
    • tmux
    • jq
    • gamedig
    • glibc
  • Features
    • ANSI Colors
    • Stop Mode
    • Log Management
    • Message Display Time
  • SteamCMD
    • Steam Master Server
    • Game Server Login Token
    • Branch
    • LAN Discovery
    • Workshop
    • Error Codes
  • Linux
    • distro
    • ftp-scp
    • file-ownership
    • firewalls
    • network-interfaces
    • permissions
    • Symlinking and ln command
  • Troubleshooting
  • FAQ
  • Guides
    • Security
    • Make Webserver Case Insensitive
    • Sourcemod and Metamod:Source
  • Other
    • server-migration
    • basic-usage
    • brand
Powered by GitBook
On this page
  • SteamCMD Login
  • Anonymous Login
  • Steam User Login
  • Plain Text Passwords
  • Steam Guard
  • Authentication Methods for SteamCMD
  • Using Steam Guard with LinuxGSM
Edit on GitHub
Export as PDF

SteamCMD

PreviousMessage Display TimeNextSteam Master Server

Last updated 1 year ago

SteamCMD is a command-line based Steam client developed by Valve that is used to remotely download game files. This is very useful for game servers, as it is significantly easier to keep them up-to-date. Any game that supports dedicated servers will have its server files available on SteamCMD. All you need is the AppID which can be found on Valve's or .

You can only download server files for the operating system that you are using SteamCMD on.

SteamCMD Login

SteamCMD requires a login to download some game servers.

Anonymous Login

The majority of game servers using SteamCMD only require an anonymous login. LinuxGSM will not require any configuration if this is the case.

Steam User Login

Some game servers require you to login to SteamCMD using a steam login to allow download of the server. Some also require you to own a copy of the game on the steam account.

## SteamCMD Login
steamuser="username"
steampass="password"

If you get the error ERROR! Failed to install app '2430930' (No subscription) then you do not own a copy of the game in your account and will need to login on the standard steam client and buy the game. If the game is free you will need to "add to account".

Plain Text Passwords

SteamCMD prints out passwords in plain text meaning that the Steam login password is visible to anyone on the server. LinuxGSM saves logs and the Steam login password will be view-able in the logs.

Steam Guard

Steam Guard is an additional layer of security that can be applied to a Steam account. The first layer is the account login credentials: the Steam account username and password. With Steam Guard, a second layer of security is applied to the account, making it harder for a Steam account to fall into the wrong hands.

If Steam Guard is enabled on an account when a login to from an unrecognized device happens an access code will be required as verification. Depending on the account Steam Guard settings, either an email with a code or a code from the Steam Mobile app on a smartphone is required.

Authentication Methods for SteamCMD

  1. Username and password - No Steam Guard

  2. Username and password - Steam Guard via Email

  3. Username and password - Steam Guard via Smartphone (not compatible with LinuxGSM)

Username and Password - No Steam Guard

Simply requires your Steam username and password.

Username and Password - Steam Guard via Email

Requires your Steam username and password and you will also receive an email on the first login to SteamCMD and be required to enter a code. Once the code is entered your server is authorised to use the steam account you entered.

Username and Password - Steam Guard via Smartphone (not compatible with LinuxGSM)

Requires your Steam Username & Password but also requires you have the Steam app on your phone to use 2-factor Authentication.

Using Steam Guard with LinuxGSM

Both options 1 & 2 work with LinuxGSM.

Steam Guard via Smartphone is not compatible because it requires a code every time you login to SteamCMD. This is problematic if you want your game servers to auto-update.

If you have Steam Guard via email enabled the first time you start SteamCMD you will be prompted to enter a steam Guard code and you will receive an email with the code. Copy and paste the code into the prompt and press enter. You will not need to enter a code again.

It is recommended that you just for the server.

If this is the case LinuxGSM will prompt you on installation to set a steam username and password. This can be set by editing the following settings within the .

Do not use your own steam login. Create a new Steam login just for the game server. As the steam login password is stored in .

Check for a list of game servers that require a login.

For more info visit .

create a new Steam username
LinuxGSM config
here
steam support
plain text
wiki
SteamDB
SteamCMD Terminal
Steam Guard