How to Set Passwords on Your Counter-Strike 2 Server

Published June 9, 2026 · By Host Havoc Technical Support Team

You can protect your Counter-Strike 2 server with a join password and an RCON password. Both are configured in server.cfg through the Host Havoc game panel. For RCON access, see also adding admins if you need a GSLT in place first.

Steps

  1. Log in to the Game Control Panel and navigate to your server.
  2. Stop your server.
  3. Click the Configuration Files icon.
  4. Locate server.cfg and click the text editor option.
  5. To set a join password, find the sv_password line and change the value:
    sv_password "yourpassword"
    

    Leave the value as "" to remove the join password.
  6. To set an RCON password, find the rcon_password line and change the value:
    rcon_password "yourrconpassword"
    
  7. Click Save.

Restart your server for the changes to take effect. Players will be prompted for the join password when connecting. Use the RCON password with any RCON tool to send remote console commands.