> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Set a Password on Your Squad Server

> Set a password on your Squad server with the admin command AdminSetServerPassword. You need the private access level in Admins.cfg; use "" to remove it again.

To set a password on your Squad server, use the admin command `AdminSetServerPassword <Password>`, for example `AdminSetServerPassword Practice2026`. Type it in the in-game admin console (double-tap `~`) or send it over RCON. Your admin group needs the `private` access level in `Admins.cfg`. To remove the password, use `AdminSetServerPassword ""`.

| Difficulty | Time | Works on | Needs |
| - | - | - | - |
| Beginner | 5 minutes | Every FREAKHOSTING Squad server | `private` access level or RCON |

## Before you start

* Your server has no password field on **Startup** and no password key in `Server.cfg`. The password is set with an admin command.
* You need to be an admin. See [add admins](https://help.freakhosting.com/games/squad/how-to-add-admins-to-your-squad-server.md).

## How to give yourself the private access level

**1. Stop the server**

[Stop the server](https://help.freakhosting.com/portals/game-panel/how-to-start-stop-and-restart-your-game-server.md).

**2. Edit Admins.cfg**

In **Files**, open `SquadGame/ServerConfig/Admins.cfg`. Add `private` to your group, for example change `Group=Admin:kick,ban,changemap` to `Group=Admin:kick,ban,changemap,private`.

**3. Save and start**

Save the file and start the server.

## How to set the Squad server password

**1. Open the admin console**

Join your server and double-tap `~`. You can also use an [RCON tool](https://help.freakhosting.com/games/squad/how-to-set-up-rcon-on-your-squad-server.md) without joining.

**2. Set the password**

Type `AdminSetServerPassword <Password>` and press Enter, for example `AdminSetServerPassword Practice2026`.

**3. Share it**

Give the password to the players you want to let in.

## How to remove the password

Type `AdminSetServerPassword ""` in the admin console or over RCON. The two quote marks mean an empty password.

## Other ways to keep your server private

| Option | How |
| - | - |
| Hide it from the public list | Set **Advertise Server** to `false` on **Startup** and restart. See [server settings](https://help.freakhosting.com/games/squad/how-to-change-squad-server-settings-in-the-game-panel.md). |
| Keep places for your group | Set **Reserved Slots** on **Startup** and give your players the `reserve` access level |
| Block public players | `AdminSetPublicQueueLimit 0` blocks public joins |

## Frequently asked questions

### Does the Squad server password stay after a restart?

Check after each restart by trying to join. If the password is gone, set it again with `AdminSetServerPassword`.

### Why does AdminSetServerPassword not work?

Your group in `Admins.cfg` needs the `private` access level, and you must restart the server after editing the file.

### Can I put the password in Server.cfg?

No. Your `Server.cfg` has no password key. Use the admin command.

## Related guides

> [card] [Squad server guide](https://help.freakhosting.com/games/squad/squad-server-hosting-guide.md)
>
> Every Squad page in one place.

> [card] [Admin commands](https://help.freakhosting.com/games/squad/squad-admin-commands-list.md)
>
> Every admin command with examples.

> [card] [Add admins](https://help.freakhosting.com/games/squad/how-to-add-admins-to-your-squad-server.md)
>
> Access levels such as private.

> [card] [Set up RCON](https://help.freakhosting.com/games/squad/how-to-set-up-rcon-on-your-squad-server.md)
>
> Run commands without joining.

***

> [!NOTE]
>
> **Checked against the official [Squad Wiki](https://squad.fandom.com/wiki/Server_Administration)** on 3 November 2026 (Squad dedicated server v10.6.3). Commands may change with game updates.

> [!NOTE]
>
> ### Need Extra Help?
>
> If you encounter any issues, our support team is ready to assist:
>
> * **Live Chat:** Quick assistance via our website.
> * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
> * **Discord:** [Join our Community](https://discord.gg/freakhosting)
> * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)

> [!TIP]
>
> ### Save on Your Hosting
>
> Ready to upgrade your hosting? Use code **KB20** at checkout for **20% off** your first order!

***

**Last Updated:** November 2026


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.