Skip to Content
HostWall

First sign-in

Sign in to the HostWall dashboard for the first time: the initial admin password, the SSH tunnel, choosing a password and turning on two-factor sign-in.

On first start, HostWall creates one dashboard user, admin, with a random password. You sign in with it once, then choose your own password.

1. Find the initial password

The install script prints it at the end. HostWall also prints it in its log on every start until you change it:

[HostWall] Dashboard:          https://127.0.0.1:9443
[HostWall] Initial username:   admin
[HostWall] Initial password:   K7Q2-9XMP-HD4W-3VZT
[HostWall] You'll choose a new password when you first sign in.

It is also saved in initial-admin.txt in the data directory, readable only by root and the service:

sudo cat /var/lib/hostwall/initial-admin.txt
sudo journalctl -u hostwall | grep "Initial password"
sudo hostwall status        # says whether the initial password is still in use

In Docker, use docker logs hostwall. On Windows, look in the terminal window or C:\ProgramData\hostwall\data\initial-admin.txt.

2. Open the dashboard

The dashboard listens on 127.0.0.1:9443, so it can't be reached from the internet. From your own computer, open an SSH tunnel:

ssh -L 9443:127.0.0.1:9443 you@your-server

Keep the session open and browse to https://localhost:9443.

Your browser warns about the certificate the first time. That's expected: the dashboard uses a self-signed certificate, and the connection travels through your SSH tunnel. Accept the warning to continue.

Tip

To reach the dashboard without a tunnel, see Dashboard access. Turn on two-factor sign-in first.

3. Sign in and choose a new password

  1. Enter username admin and the initial password.
  2. HostWall asks you to choose a new password before anything else. Use at least 10 characters (a password manager helps).
  3. When you save it, HostWall deletes initial-admin.txt and stops printing the password in the log.

Next, HostWall offers to protect your first site. See Add a site, or click Skip for now.

4. Turn on two-factor sign-in

Two-factor sign-in is optional but strongly recommended: the dashboard controls your firewall.

  1. Open Settings and click Turn on two-factor sign-in.
  2. Scan the QR code with an authenticator app (1Password, Bitwarden, Google Authenticator, Authy and so on), or type the setup key.
  3. Enter the 6-digit code the app shows and click Verify and turn on.

From then on, signing in asks for your password and a code from the app. You can turn it off again in Settings with your password and a current code.

Sign-in limits

After 5 failed sign-ins within 15 minutes, sign-in from that IP address is blocked for 15 minutes. Each account also has a much higher limit (100 failures in 15 minutes), so one attacker can't lock you out. The counter is kept in memory, so restarting HostWall clears it. Sessions last 7 days; changing your password signs out your other sessions.

Lost your password or phone?

On the server:

sudo hostwall admin reset

This gives admin a new random password (printed, and saved in initial-admin.txt), turns two-factor sign-in off and signs everyone out. Sites, exceptions and events are kept. See admin reset.

Edit this page on GitHub

On this page