Skip to main content
All pages in this manual

From a fresh server to a live shop · Step 7 of 8

Security

What this page is for. Everything about who can get into this panel and this server, and a record of what they did.

You need

  • The panel open, on the Security page (in the Panel menu group).
  • For a new phone: a free authenticator app (Google Authenticator, Aegis, 1Password, Authy).
  • For your own panel domain: a domain name, and access to its DNS settings — or a Cloudflare token connected to the panel, in which case it does the DNS for you.

Read this first: the panel is the server

The panel manages the web server, PHP, your files, your database and your certificates. To do that it runs as root on this machine. So whoever can log in to the panel can do anything on the server.

That means your panel login deserves exactly the same care as your SSH key:

  • Do not reuse the password anywhere else.
  • Do not paste the panel link into a chat group, a ticket, or a screenshot.
  • Do not give your own login to a helper. There is a proper way to do that: Let someone else in.

The same works the other way round. Anyone with root SSH on this server can clear the two-factor phone, reset the password and put the panel back on its IP address, all in one command each. That is on purpose — it is your way back in when something locks you out — so guard the SSH access just as carefully.

Your project's own code does not run as root, and cannot reach any of this. Each project runs in its own PHP-FPM pool under its own Linux user (six-default, six-<short id>), which can read and write that project's folders and nothing else on the machine.

There is a second wall behind that one. PHP is started inside its own view of the server, where the whole disk is read-only except the folders your shops actually write to — their own files, the server's log folder and the sockets the database and PHP talk over. Everything else is read-only, and some things are not there at all: PHP cannot see this server's web-server configuration, the settings SixPanel writes for your sites, SixPanel's own program files, or any other program running on the machine. Its temporary folder is its own, so one shop cannot see files another one left in the shared one.

None of that changes anything you do. It is there for the day something gets into one of your shops through a plugin or a theme upload: it does not stop that shop being affected, but it stops whoever did it from reading their way around the rest of the server. It also costs nothing — it was measured against the usual way of doing this (a PHP setting called open_basedir, which is what some other panels use) and that one made every page 17 to 23 milliseconds slower, on every request, forever. This does not.

What is on the page

The page has eight tabs.

TabWhat is on it
Sign-inYour login name, your password, Two-factor login (2FA), Confirming it is you — how often the panel asks — and Logged-in devices: every browser signed in right now
AccessPanel address (the secret panel link and its entry code, your own domain for the panel, and the panel port), the Login IP allowlist and Locked-out addresses — who may reach the login page at all — Blocked addresses, which cannot reach the panel at all, and Allow traffic from Cloudflare only
SSHpassword, key and root login over SSH, the SSH port, who signed in, and an email on every SSH sign-in
Brute-force protectionfail2ban's jails and their settings, the addresses banned now, the never-ban list, the addresses blocked for good, and what it did
Security scoreone card of checks asked of the server, each with its fix
SharingTemporary logins and Public demo login: ways to let somebody else in
Deploy keysthe keys this server shows a git host to read your repositories, and which project uses each
Activity logwhat happened here

1. Your username

Your login name was generated when SixPanel was installed — admin plus a few random characters — so that a robot which finds the login page cannot guess it.

To change it, open Your login name, type the new name and press Change username. It must be 3 to 32 characters: small letters, numbers, dot, dash or underscore.

Write the new name down before you press the button. The old name stops working immediately. If you forget the new one, the only way to read it back is over SSH: sudo sixpanel username.

The panel asks for your password (and your 6-digit code, when two-factor login is on) again before it makes the change — every time, whatever Confirming it is you below is set to.

A name already used by a temporary login or by the demo login is refused. Every login on this panel has its own name.

2. Your password

Type the current one, then the new one twice, and save. Minimum 8 characters, and at most 72 bytes: 72 plain letters, digits and symbols, fewer when letters carry accents or are in another script. A longer one is refused, because anything after that would not count. With two-factor login on, the panel then asks for your current 6-digit code as well before it saves the new password — every time.

Changing it signs out every other browser. Your username and your 6-digit code stay as they are.

Over SSH, if you cannot log in at all:

sudo sixpanel password reset

It confirms first, then prints a new password. The old one is stored only as a one-way hash and cannot be recovered.

3. Two-factor login

Two-factor login is how this panel is meant to run, and it is set up at your first login (First login). With it on, a stolen password is not a login — it is half of one.

It is not welded on. The enrolment screen offers Not now — continue without two-factor login (it asks you to confirm once), and the Security page shows two-factor as off afterwards with the button to enrol right there. Skipping is recorded in your activity log, and while it is off your panel password is the only thing protecting this server. Leave it on for a project taking real orders.

Moving to a new phone. Open Two-factor login and press the button to move to a new phone. The old authenticator is forgotten and the panel asks you to scan a fresh code straight away. Do this while you still have the old phone if you can — it is one uninterrupted minute. Every other browser signed in as the owner is signed out when you do it; the one you are using carries on.

Lost the phone. Over SSH:

sudo sixpanel 2fa off

It forgets the old phone and signs out every browser that was signed in as the owner. Your next login shows a fresh QR code to scan with the new one. If you have no phone at that moment, that screen's Not now — continue without two-factor login is the way in — then enrol again here as soon as you have one.

Signing in from AllsWeb. A server you ordered from AllsWeb with SixPanel has an Open SixPanel button on its page in your AllsWeb dashboard. It signs you in with a link that works once and only for about a minute, and it stands in for your username and password only: with two-factor on, the panel still asks for the code. If this browser is already signed in, you simply land in the panel. Every sign-in shows in your activity log as "from AllsWeb". To switch it off:

sudo sixpanel sso off

The button then opens the ordinary login page. AllsWeb's server page shows the one line to paste here if you want it back.

Confirming it is you

Being signed in is not enough for the few actions that give full control of this server: opening a root terminal, turning SSH on, turning on SSH access that has keys or adding a key, letting a coding agent work on the server itself, a scheduled task that runs as the panel, showing a webhook secret again, making a temporary login (it keeps working after you sign out), changing the panel's entry code, changing the login IP allowlist, making or widening a connection for an AI agent, letting Tia run root commands, and agreeing that AI Coding may work directly on a live website. Before one of those the panel asks you to confirm it is you:

  • with two-factor login on — the current 6-digit code from your authenticator app. No password.
  • with two-factor login off — your panel password.

One answer is then remembered on that sign-in for 5 minutes, so the next such action does not ask again. Signing in with your password counts as an answer. The card Confirming it is you sets how long: Every time, 2 minutes, 5 minutes or 15 minutes. Saving it asks you to confirm.

The answer is kept in the panel's memory only — after a panel restart or update you are asked again — and it is never kept for a temporary login, for a sign-in from AllsWeb (that link types no secret of this panel), or for Tia and connected AI agents.

Asked every time, whatever is chosen there:

  • changing your password, your username or two-factor login, and changing this setting itself — these ask for your password and your code where two-factor login is on;
  • every root command Tia wants to run — the code (or the password) on each approval card.

A 6-digit code works once. The one you just signed in or confirmed with is not accepted a second time: wait for your app to show the next one, at most 30 seconds. A right code that was already used — typed in a second tab or on a second device in the same half-minute — is answered "already used" and is not counted as a wrong code, on the login page as here. Five wrong codes lock the address out for 30 minutes, as on the login page, and that sign-in is then asked for your password as well as the code until it gives both.

4. Signed-in devices

Logged-in devices lists every browser that is logged in right now, with the time it signed in, when it was last seen, its IP address and its device.

  • Press Sign out on any row you do not recognise.
  • Press Log out everywhere else to end every session except this one.

A session lasts 7 days, and ends by itself after 24 hours with no activity. A demo session ends after 2 hours.

Your panel link ends in a secret code. Without that code the address is a blank "not found" page — that is what keeps scanners away from your login.

If the link was ever pasted somewhere it should not have been:

  1. Panel address → Change entry code.
  2. Confirm. If you signed in more than a few minutes ago, the panel also asks you to confirm it is you (see section 3). It then shows the new link at once.

Save this. The new link is shown in a box you will not see again. Copy it and update your bookmark. The old link is dead from that moment, on every device including the one you are using.

Over SSH, the same:

sudo sixpanel entry-code reset

Where the link may still be written down, on a server from before 1.5.7. Until 1.5.7 the web server wrote the panel link into its shared error log, /var/log/nginx/error.log, each time a large upload or page passed through it, and every member of the server's adm group can read that log (getent group adm lists them; on a cloud server the login user you SSH in with usually is one). Since 1.5.7 the panel's own errors go to /var/log/nginx/panel/error.log, which only root and the web server's own account (www-data) can read, and nothing else about the panel is written down. The older lines stay in the shared log and its copies until they age out, 14 days later. To make them useless at once, change the entry code as above: the old link then opens nothing. To remove the lines as well, over SSH (this also removes the web server's other messages from those days):

sudo truncate -s 0 /var/log/nginx/error.log
sudo rm -f /var/log/nginx/error.log.1 /var/log/nginx/error.log.*.gz

6. Give the panel your own domain

By default the panel answers at https://SERVER-IP:PORT/SECRET-CODE. You can put it on a name like panel.example.com instead. If you did this in the first-run wizard, it is already done.

  1. Type the name in Custom domain.
  2. Press Make the panel live on this address. One job does all of it: the DNS record (when Cloudflare is connected and manages that domain), the wait for the name to point here, the free certificate, and the web server configuration. You watch each step.

If Cloudflare is not connected, point an A record for that name at this server first — the page shows the exact value — then press the same button.

Check the spelling twice. The panel accepts any name that looks like a hostname. A name typed wrong is saved happily and only fails later, at the certificate step. A wrong name plus a certificate is how people lock themselves out. If you would rather have the name checked before it is saved, do this step over SSH instead: sudo sixpanel domain panel.example.com refuses a name that does not resolve to this server.

A name that something else on this server already answers on is refused — on this page, by the one-click setup, and by sudo sixpanel domain <name> in the terminal (whether the panel is running or stopped). That means any address of a 6ammart project, on any of its lists, and any address of a website. The panel's address would otherwise win the name, and the project or website that had it would stop answering with nothing on any screen saying so. The message names the one that holds the name and what it is (`shop.example.com` is already used by project "Shop", or by website "Blog" — pick a different hostname for the panel); move that project or website off the name first if you really want the panel there.

The address with the IP and the port keeps working until you close it yourself. Giving the panel a domain adds a second door; it does not shut the first one. To leave the domain as the only door — so nobody can find the panel by scanning ports — open the panel at the new domain and press Close IP access under Security → Access → Panel address. The button is offered only after the new address has answered for the panel from the internet, and only while you are reading the panel at that domain, so closing it is never what locks you out. Reopen IP access in the same place switches it back on.

If you closed the IP address and the domain stops working later, your way back is always SSH:

sudo sixpanel panel ip-access open
sudo sixpanel info

The first command reopens the IP address and leaves the domain, its certificate and its DNS record as they are. The second prints the address to open. To drop the panel domain altogether, sudo sixpanel domain none does that and brings the IP address back as well.

To remove the custom domain instead, empty the Custom domain box and save.

Moving the panel to a different name. Type the new name and run the same job. When Cloudflare is connected, the DNS record of the old name is removed for you — but only after the new address has answered, and only if that record still points at this server. If the new address does not answer yet, the old record stays, so you still have a way in. If you set the name by hand instead (no Cloudflare), the panel does not touch DNS at all: it tells you which name it left, and you remove that record where your DNS is managed.

If the job says the new address answered, but not with the panel. The last step asks the new address for the panel from the internet, and only the panel's own answer counts — an error page or another site on that name does not. An HTTP 403 there means something in front of your server turned the check away, usually a Cloudflare rule that challenges or blocks requests not made by a browser. Add an allow rule for this server's own address (Cloudflare's IP Access Rules), then run the job again. Nothing is switched off in the meantime: the address with the IP and the port keeps working.

Every name the panel creates on Cloudflare is proxied, including this one, so your server's address never appears in public DNS. If panel.example.com would sit deeper than one level below your Cloudflare domain, the panel offers you the spelling that works — panel-shop.example.com rather than panel.shop.example.com — because Cloudflare's free certificate does not reach that far.

7. The panel port

The number after the address, like :41397, was picked at random when SixPanel was installed. Only the command line can change it, because the panel has to restart to listen somewhere else:

sudo sixpanel port 30000

Open the new port at your hosting provider first, or the panel becomes unreachable. sudo sixpanel port random picks a new random port; it does not restore an old one.

8. Limit login to your own addresses (optional)

Login IP allowlist names the addresses that are allowed to log in. Anything else is refused at the login page. It never affects your site or your visitors.

Only switch this on if your own address is stable. Most home and mobile connections are given a new address every few days. The day yours changes, the login page refuses you, and no button inside the panel can help — the list is what stops you reaching those buttons. The way back is one command over SSH: sudo sixpanel allowlist clear. Save that line somewhere you can read without the panel, before you add the first address.

  1. Type an address or a range, for example 203.0.113.5 or 203.0.113.0/24. (An address that is already on the list is not added twice — the panel says so.)
  2. Press Allow this address.

Adding or removing an address may ask you to confirm it is you first (see section 3).

An empty list means the feature is off and login works from anywhere.

The panel will not save a list that leaves out the address you are on right now, so you cannot lock yourself out in the same minute. The lockout, when it comes, comes later and on its own.

Locked out? Over SSH as root:

sudo sixpanel allowlist
sudo sixpanel allowlist clear

The first prints the list the panel is enforcing. The second empties it, which switches the feature off, so login is accepted from anywhere again. Your password, your 6-digit code and the secret entry code are not touched.

9. Shut one address out completely (optional)

Blocked addresses is the opposite of the list above, and it answers a different question. The allowlist says only these may sign in; a block says not this one, whatever it has. Use it when one address is hammering your panel, or when you recognise somewhere you never want to hear from again.

Two things make it stronger than the allowlist:

  • It takes effect at once, even on somebody who is signed in from that address right now. They stop being able to reach the panel mid-session.
  • It covers the whole panel, not just the login page — the blocked address cannot even see that the panel is there.

It covers the panel only. Nobody is blocked from your shop or your apps: those are served by nginx and have their own protection.

  1. Type an address or a range — 203.0.113.5, 203.0.113.0/24, or one IPv6 address.
  2. Add a short reason. Do write one: in six months a list of bare numbers tells you nothing about why any of them are there.
  3. Press Block this address.

The list shows every blocked address with the day you blocked it and your reason, and an Unblock button beside each one.

Two things the panel refuses to block, on purpose:

  • Your own address. It is named on screen so you can see what it is.
  • 127.0.0.1. The panel is reached over that address by the web server in front of it, so a rule covering it would refuse every visitor to the panel rather than one — including you, on every device.

Blocked yourself anyway, from an address you no longer control? Over SSH as root:

sudo sixpanel block
sudo sixpanel block clear 203.0.113.5
sudo sixpanel block clear

The first prints the list the panel is enforcing. The second lets one address back in; the third empties the list. Your password, your 6-digit code, the allowlist and the secret entry code are not touched. This command is why blocking is safe to use: the block lives in the panel's own settings, so it can always be lifted from the server itself — never from somewhere only a reinstall could reach.

You can add a block from the command line too:

sudo sixpanel block 203.0.113.5

How the panel knows a visitor's real address

Every limit above (the allowlist, a block, the lock after too many wrong passwords) is counted per address. Visitors reach the panel through the web server (nginx), so the panel needs nginx to tell it who is really asking. nginx proves it is nginx by sending a secret value that only the server's root account can read. Any other program on the server that connects to the panel cannot send it, so it is counted as the server itself (127.0.0.1), whatever address it claims.

Server → Health → "Visitor addresses the panel trusts" shows whether this is in force. The row has a Make a new proof button. Press it if the secret value may have been seen somewhere it should not be, for example in a copy of the nginx configuration you pasted into a chat or a support ticket:

  1. Press Make a new proof and confirm.
  2. Give your password or 2FA code when the panel asks.
  3. The old value stops counting at once. The panel reloads nginx with the new one, and the row turns green again by itself when nginx sends it, usually within a minute.

Nobody is signed out. While the row is waiting, the panel reads visitor addresses the way it did before the proof existed, so no visitor is wrongly counted as the server and locked out.

10. Let someone else in

There are two ways to give somebody access without giving them your own login: a temporary login that ends by itself, and a public demo login that can look at everything and change nothing.

Full page: Let someone else in.

11. Read the activity log

The Activity log records logins, deploys, restores, password changes, secret reveals and setting changes, each with the time and the IP address. A row says what was done in a sentence, then the panel's short name for that action (login-ok, site-create). The filter reads that short name (for example, type login); choose how many rows to show.

When something changed and you do not know why, this is the first place to look. The Activity page in the Panel menu group holds the same record as a timeline by day — every change asked of the panel, refused and failed ones too, and the panel's own jobs — with filters, each entry's details and a CSV export: Activity.

12. See the keys this server shows your git host

When a project is installed from a git repository over SSH, the panel makes a deploy key for it — or takes one you already have — and you paste its public half into the repository. The Deploy keys tab lists every such key this panel holds:

  • In use — a project on this server signs in to its repository with this key, and the row says which. It cannot be deleted here: removing it would break every later deploy from that repository.
  • Unused — nothing on this server loads it any more. Delete removes the file; if its public half is still on a repository, remove it there too.

Show public key shows the half you paste into the repository again. The private half never leaves this server.

These keys let this server read your code. The keys that let a person sign in over SSH, as a project's or a website's own account, are somewhere else: on the SSH access card under Advanced → Terminal for a 6amMart project, and on a website's Terminal page. SSH for the whole server is switched on or off on Server → Terminal. See Terminal and SSH.

What is already on, with no setup

  • The panel answers over https only.
  • The panel port is a random high number, picked at install, and the address ends in a secret code.
  • The username is generated, not admin.
  • Two-factor login is set up at the owner's first login, and stays on unless the owner chooses to skip it there.
  • The password is stored as a one-way hash. Nobody, including us, can read it back.
  • 20 wrong passwords from one address within 15 minutes lock that address out for 30 minutes. 5 wrong 6-digit codes do the same. On top of that, 30 login attempts in 15 minutes trip a flood shield. The count is the same one wherever the panel asks for your password or your code again — changing the password, moving to a new phone, confirming it is you — not only on the login page. Being asked is never counted; only a wrong answer is. A right code that was already used is refused as "already used" and is not counted either.
  • Wrong 6-digit codes are also counted for the account as a whole, whichever address they come from: 20 in 15 minutes, and the panel takes no code at all for the next 15 minutes and emails you. Only someone who already has your password gets as far as a code, so if that email arrives and it was not you, change your password. sudo sixpanel unlock all on the server ends the wait.
  • Wrong secret entry codes lock an address out too, so the link cannot be guessed by trying. Every such address is in the list on this page and in the activity log. The log also says when the address is your own — the server itself (a program on it, or a browser reaching the panel through an SSH tunnel) or an address that is signed in right now (a saved tab, a bookmark or an agent still using an old panel address).
  • If you set up email alerts (Settings → Email alerts), a lockout over wrong passwords or wrong 6-digit codes sends you a mail: whoever did that holds your panel link. An address locked over wrong entry codes got nowhere, and the internet does that to every panel all day, so the panel writes to you about those only when there is something to decide: when more than ten addresses are locked within an hour, or when your panel still uses a short entry code from an older install — Panel Access makes a 32-character one.
  • The web server refuses to serve hidden files and configuration files, and answers nothing at all to a request for a hostname this server does not serve — the connection is closed on port 80 and refused during the handshake on 443, so a scanner learns nothing.
  • Push-to-deploy requests are checked against a signature, so a stranger cannot trigger a deploy.
  • PHP's mail() and the sendmail command are off on every new website and shop, so a hacked plugin cannot send spam from this server's address without a mailbox's password. A server updated from an earlier SixPanel kept them on where they were, and Security score lists each one with Turn off. Turning them on for a website is yours, and the panel says the risk — see Email → PHP mail() and sendmail.
  • Ubuntu's own unattended security updates are switched on at install.
  • fail2ban bans an address after 5 failed SSH sign-ins within 10 minutes, for an hour. The numbers are yours to change on Brute-force protection — see Firewall, SSH and brute-force protection, which also covers the SSH and Security score tabs.

What protects the shop itself, with no setup

The list above is about reaching the panel. These are about the traffic that reaches your customers' shop, and none of them need anything from you.

Requests are rate-limited, by what they are. Signing in, asking for a one-time code and resetting a password get the tightest limit, because those are the requests somebody guessing passwords or burning your SMS credit has to make. Searching gets its own. Ordinary browsing gets a generous one, because a phone opening your app legitimately fires a dozen requests at once. Anything refused gets a 429, which an app can retry — never a broken page.

Each shop has a line in front of it, and the line has an end. The number of PHP workers is set from the server's memory, so a rush cannot push the server out of memory; a request that finds every worker busy waits in line for one. The line holds 16 requests for every PHP worker — 80 on a 4 GB server that runs two shops, 160 where it runs one. A request that arrives when the line is full is not left waiting behind it: it is answered at once with a 429, "the server is busy, try again in a few seconds", which an app can retry. Measured on a small test server with 900 requests in the same instant: without the line the last one was answered after 14 seconds; with it 80 are answered within a second and a half and the rest are told straight away.

Three things never take a place in that line: a request the server can answer from its cache, an upload that is still arriving, and an answer a slow connection is still collecting. One address may hold half the line and no more, so one busy address cannot keep everybody else out. And every shop has a line of its own: a rush at one does not use up another's. A website (WordPress or PHP) has no such line — its requests wait for a worker, however many there are. Where the shop is behind Cloudflare — every record the panel makes there is proxied — a rush meets Cloudflare before it meets your server. Server → Health ("Requests being rate-limited") says when the line has turned anybody away, and for which shop. It warns only while ordinary requests are being turned away now (in the last 15 minutes); earlier ones, and refused sign-in attempts, are counted as information. One address that was refused while it asked for secret files (.env copies, keys, credentials) is reported as a scanner on its own, as information rather than a warning: it was refused, nothing was handed to it, and no limit should be raised for it.

Only one file on the server can run as a program. 6amMart, in both the version sold on CodeCanyon and ours, has exactly one entry point. Nothing else ending in .php will run, anywhere under your site, even if something manages to put a file there. That entry point cannot be requested directly either — it is reachable only from inside the web server.

Scanners are answered by the web server, not by your shop. A public server takes a constant background of probes for software it does not run — /wp-admin/, /phpmyadmin, /telescope, and a dozen more. Each of those used to start your whole application and run a database query to build a "not found" page. They are now refused before any of that happens.

Repeated failed SSH logins get the address banned for an hour, after five tries in ten minutes. Port 22 is open on every server — it is how you get back in when everything else is broken — and this is what stops someone working through a password list against it. Server → Health shows you how many addresses are banned right now — and turns red, with the one command that fixes it, if the server cannot actually block them.

The server's own network settings are sized for a burst. Ubuntu's defaults are a general-purpose compromise; the queues that hold connections while your server answers them are set for a shop, and SYN-flood protection is on. Health reads the live values back, so if something else on the server changes one, you are told.

Files in the shared temporary folder are kept apart. One shop or website cannot leave a file in /tmp for another to write into by mistake. One thing you may meet over SSH because of it: sudo cannot write into a file in /tmp that your own login created — give the file a new name, or keep it outside /tmp.

Builds keep their temporary files in their own folder. What the panel runs for a website (its builds, installs and commands, Java builds included) and for a 6amMart shop (composer, artisan, the storefront's yarn and npm) is given that website's or shop's own folder for its temporary files, instead of /tmp. An SSH sign-in to its account gets the same folder. The panel's own npm, yarn and corepack, which run as root, keep no code cache in /tmp, where another account could have made the folder first. Every install, every update and every start of the server also makes sure the two shared code-cache folders there (node-compile-cache and v8-compile-cache-0) belong to root and nobody else can change them, and replaces one that does not, whoever made it. If your own login had made node-compile-cache, its npm keeps no code cache in /tmp after that and works as before. The update to this version is finished by the version before it, which keeps its code cache there once more, in that folder of root's.

What earlier versions left in /tmp is removed when the panel starts and every six hours after. The code caches and pnpm's lock folders go once nothing has used them for an hour; root's own two code-cache folders are only emptied, so their names stay root's. yarn's run folders (yarn--…) and a website's Java folders (hsperfdata_site-…) go once nothing has used them for a day. Between updates, these names are left alone when your own login made them, and so are root's and your login's Java folders.

Nothing here filters by who you are — no country blocks, no "prove you are a browser" challenge. Your customers arrive from phone apps, which cannot pass a browser challenge, so anything that asked them to would simply lose you orders. Filtering by address belongs at your provider's edge, where the packets never reach this server at all: Firewall walks you through it.

Would you know if something changed?

Three things are watched, and all three are on Server → Health.

SixPanel's own files. Every release carries a list of what it installed and what each file should contain. If one of them is different, or missing, the check-up says which.

Your shop's files. Your code comes from your git repository, so the panel can tell you when a file on the server no longer matches what you deployed — which is what a file dropped into your site by someone else looks like. Files your shop legitimately writes as it runs are not counted.

The settings files SixPanel writes. Web server configuration, PHP settings, the certificate jobs: about forty files. If you edit one by hand the panel tells you, rather than quietly writing over it the next time it renders that file.

Two things about your project, not the panel

The rest of this page is about who can reach the panel. These two are about the 6ammart app itself, and Server → Health checks both for you.

Your shop's encryption key

6amMart uses one secret value — its "app key" — to sign the cookie that keeps people signed in, and to scramble a few stored values. It has to be yours alone.

The 6amMart download ships with an example key already filled in, and for a long time a new install simply kept it. Anyone who has bought the same software has that key. SixPanel gives every new install its own, and Health shows a card for it.

If that card is red on a project installed earlier, change the key — but pick your moment, because a new key signs everyone out at once:

  1. Choose a quiet hour. Nothing is deleted and no order, product or customer is affected — people simply sign in again.
  2. Open the project's App .env page, clear the APP_KEY value, and save.
  3. Run a deploy from Deploys. It generates a fresh key.
  4. Sign in to your 6amMart admin again. Tell your staff to do the same.

"Remember me" on the 6amMart admin login

When someone ticks remember me on your shop's admin login (not the panel), 6amMart saves their e-mail and password in their browser, scrambled with the key above. Scrambled is not the same as hashed — with that key, it can be turned back into the real password.

Nothing to switch off, but two habits are worth having: keep the key above unique to your shop, and do not tick remember me on a shared or public computer. SixChecker reports this too.

How to check it worked

  • Your login shows two-factor as on.
  • Panel address shows your domain with an active HTTPS chip.
  • sudo sixpanel ssl status lists a certificate for the panel domain with the days left.
  • The Activity log has a fresh row for what you changed.

If it went wrong

  • The panel domain does not open — the certificate may not be there yet. Run sudo sixpanel ssl status. To go back to the IP address: sudo sixpanel domain none.
  • The allowlist locked you out — no button in the panel can fix this, because the list is what keeps you out of the panel. Over SSH: sudo sixpanel allowlist clear. It confirms first, empties the list and leaves the password, the 6-digit code and the entry code alone. It works with the panel running and with the panel stopped.
  • Too many wrong tries locked you out — the lockouts above are meant for a stranger guessing, and they cannot tell you apart from one. sudo sixpanel unlock lists what is locked and why; sudo sixpanel unlock all clears it and the login works on the next attempt. It also clears the flood shield, which is the half that appears in no file at all.
  • You cannot log in at all — see When something is broken. A username, a password and a two-factor reset each take one command over SSH.
  • The server's own firewall blocks your address — over SSH or from your provider's console: sudo sixpanel server firewall off. Allow traffic from Cloudflare only shuts you out — sudo sixpanel origin-lock off.

Ports to open, and nothing more: Firewall and ports.

Something unclear?Ask Tia