Users & Access · about 1 min · 3 steps
Create a user
Adds an account for a person or an app, with a home directory and optionally an SSH key. It doesn't get sudo.
Runs on
- Debian / Ubuntu: supported
- RHEL / Fedora: supported
- Alpine: supported
What it changes on your server
- Creates the account with a home directory (refused if it already exists).
- If you give a key, adds it to the account's ~/.ssh/authorized_keys.
- The account has no password and no sudo rights.
What Shellbay asks you
What should the account be called?
Use lowercase letters, digits, - and _, starting with a letter. For an app, name it after the app, e.g. shop.
- Username
- A new Linux account name
Example:
aliceShellbay checks no account with that name exists yet.
Which key will sign in? (optional)
Paste the person's public key line to let them sign in with SSH. Leave it empty for an account that only runs programs. You can add keys later with Add an SSH key.
- Public key (optional) (optional)
- One SSH public key line
Example:
ssh-ed25519 AAAAC3Nz… alice@laptop
Steps
- Create the account
- Add the SSH key
- Check the account
Shellbay checks the server before the first step, and stops at the first step that fails.
When it's done
- ‹username› exists. If you added a key, add a host in Shellbay for ‹username› with that key to sign in.
- To let ‹username› administer the server, use Grant sudo.