ana. It is globally unique and shared across every organization they
join. Service accounts use sa_<name>: a service account named deploy logs in
as sa_deploy.
UID and primary GID belong to the organization membership. You can view them,
with the home directory, in the organization’s user Settings. Newly allocated
human identities use /home/bsu_<uid>; service accounts use /home/bsa_<uid>.
Existing identities keep their current homes, including /home/<username>.
Use the reported home_directory or $HOME instead of deriving it from the login.
Numeric file ownership is defined by UID and GID.
Choose a username
The console asks you to choose a username after signing in if you do not have one. Choose carefully: it cannot be changed or reused by someone else after you delete your profile. Display names and email addresses remain separate. Use 1–32 lowercase letters, digits, underscores or hyphens, starting with a letter or underscore. System account names and thesa_, bsu_ and bsa_
prefixes are reserved. Invitations use the recipient’s chosen username; an
organization administrator cannot choose or change it for them.
Service-account names use 2–29 lowercase letters, digits or hyphens, start with
a letter and end with a letter or digit. They are immutable and unique within
the owning account. There is no separate Linux username setting.
A running guest must use guest-agent 1.12.1-1 or later for named home directories.
A conflicting local guest account blocks login rather than taking over that
account’s files or privileges.
Deleting an identity does not remove its guest home directories. Removing and
readding a person, or deleting and recreating a service account with the same
name, allocates a new UID and a distinct home. The login name stays the same;
the new identity cannot inherit the old home or its files. Existing identities
keep their allocated home during ordinary updates and username selection.
The guest never reassigns ownership automatically and refuses an existing
directory owned by another identity.
Add your public key
Keep the private key on your computer. Upload the single OpenSSH public-key line from its.pub file. Keys support an optional expiry. Expiration and
revocation prevent new logins without rebuilding the VM.
- Console
- API
- CLI
- Go
Open your account profile and find SSH Keys. Choose Add SSH Key,
enter a Name, and paste the public key. Your profile shows your permanent
username. Organization-specific numeric IDs appear in the organization
user settings.
ssh-keys and linux-identity API routes are under
/v1/service-accounts/{service_account_id}. Managing those credentials requires
iam:ManageCredentials on that service account. SSH does not issue API
credentials to the guest or give its workloads the login identity.
Temporary keys and quotas
For a CI deployment, generate a key pair in the job and register its public key on the service account. Setexpires_at to an RFC 3339 timestamp at least one
minute in the future, allowing enough time for the deployment. Delete the key
when the job finishes. If the job stops before cleanup, expiration still prevents
new logins. Expiration and revocation do not terminate existing SSH sessions.
The service-account limit can vary by organization through a quota override.
Personal keys use the platform default across all organizations; organization
overrides do not apply. These SSH quotas are separate from
iam/keys_per_service_account, which limits API access keys.
Expired keys stop consuming quota immediately. Keys without an expiry continue
to count. Expired records remain listed for seven days, then become eligible
for automatic deletion by an hourly cleanup. The list can therefore contain
more records than the active-key quota.
Grant login and sudo separately
A person has one effective IAM role in each account, including roles assigned through groups. Several groups may assign the same role. A conflicting second role is rejected. SSH uses that current account role; there is no role selector on an SSH key. Grant these actions on the intended instance CRNs:
For example, this policy allows ordinary login to one instance:
Login shell
With guest agent 1.14.0-1 or later, IAM users use Bash when it is installed, otherwise/bin/sh. This default applies to both existing and new IAM users.
Reconnect after upgrading the guest agent to start a session with the selected
shell.
IAM users are virtual accounts and do not have entries in /etc/passwd.
Their login shell is selected automatically; per-user shell customization is
not supported. chsh and usermod cannot change these virtual accounts.
Local Linux accounts retain their configured shells and use the usual
distribution account tools.
Enable an existing guest
IAM SSH integration supports Debian 11, 12 and 13, Ubuntu 20.04, 22.04 and 24.04, and Rocky Linux 9 with SELinux enforcing. New instances created from these platform images enable IAM SSH during their first boot. For an existing VM, upgrade the guest agent from the configured Basaltic package repository to version 1.11.0-1 or later. Retain a working administration session while enabling the integration:sshd.service in the last command. The installer
preserves your selected authselect profile and features through a managed
profile. SELinux remains enforcing.
Then verify a fresh connection with the Linux username from your profile or
service account. The first successful login creates its home directory.
With guest agent 1.14.3-1 or later, new homes include the distribution’s default
shell startup files from /etc/skel, including its prompt and command color
settings. Later logins leave existing files unchanged.
Enabling named access does not migrate an existing basaltic login or change
the ownership of its files.
Other distributions and custom SSH Match configurations need a separately
validated integration. An authselect configuration must pass
authselect check
before installation; locally modified generated files need to be reconciled
through authselect first.
The installer refuses configurations it cannot safely manage. Do not disable
guest security controls to force activation.
