Review permissions

Let builds sign,
without giving every job access to certificates

SSHMini Cloud Mac provides a dedicated physical Apple Silicon Mac mini for your team alone. Before connecting a runner, define which repositories can run on it, which jobs can sign, and when credentials must be revoked.

Dedicated physical machine · Not a VM · Runner permissions managed by your team

Define machine ownership first

Moving builds off a shared execution environment changes who gets the hardware; it doesn't automatically make your CI configuration secure. Each Mac mini is assigned to one customer, but you should still treat every pipeline as an entry point for code execution.

One machine, one customer

The Apple M4 or Apple M4 Pro chip, unified memory and local storage are used by a single customer. No other customer's runner shares the machine.

Isolation boundary: the entire physical Mac mini

Direct access to physical hardware

Xcode builds and simulators run natively on Apple Silicon. You get a physical machine, not a VM or a virtualization host shared with other tenants.

Runtime boundary: native macOS

Control which jobs can run

The runner is connected to your team, but that doesn't isolate jobs across your team's repositories. Don't give untrusted PRs the same execution permissions as release signing jobs.

Permission scope: repositories, branches and jobs

Verify physical isolation and pipeline permissions separately
Area to reviewPlatform providesYour team must
Machine accessOne customer per machine; not a VMLimit who can log in; don't share personal private keys
Source code and build cachesLocal runtime and storage environmentControl repository tokens; separate trusted jobs from external contributions
Signing private keysmacOS Keychain supportSet import scope and unlock conditions; clean up after jobs
Machine handoffDisk erasure and macOS reinstallation processExport data first; revoke external credentials that are still valid

Tighten SSH access

Verify key-based access before disabling password login. Keep an existing session open while making changes, then test the new connection from a second terminal. Don't close your only recovery path.

  1. 01

    Distribute public keys

    Generate separate keys for administrators and automation. Add only the public key to the target user's authorized_keysfile. Keep private keys on personal devices or in protected CI credentials, never in the code repository.

  2. 02

    Check permissions

    Check the ownership and permissions of the public key file, then confirm you can log in as the intended user from a new terminal. Grant automation users only the permissions their jobs need; don't assume the build user should also be an administrator.

  3. 03

    Verify before tightening access

    Check the effective configuration and syntax, then apply changes using the service management method for your macOS version. Keep the original session open and don't interrupt SSH until key-based login is confirmed to work.

Recommended settings

These are recommended SSH server settings, not a complete configuration file. First check which configuration file, include directories and user matching rules your system uses. Later entries with the same name don't necessarily override earlier ones.

PubkeyAuthentication yes
PasswordAuthentication no
KbdInteractiveAuthentication no
PermitRootLogin no

Check before applying

These commands check permissions and SSH server configuration; they don't restart the service. If the syntax check fails, fix the errors first. If user-specific rules apply, verify the effective configuration for the actual connection conditions.

chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
sudo /usr/sbin/sshd -t
sudo /usr/sbin/sshd -T | grep -E '^(pubkeyauthentication|passwordauthentication|kbdinteractiveauthentication|permitrootlogin) '

If the SSH host fingerprint changes, use a console support ticket to confirm whether the machine was reinstalled or reset. Don't simply delete the local record and bypass verification. For connection issues, send the error details only—never your private key.

Limit signing access to release jobs

Source code, certificates, private keys and provisioning profiles are separate assets. macOS Keychain can manage certificates and their private keys; provisioning profiles configure signing for builds but don't replace private keys. Repository access shouldn't automatically mean release access.

Store credentials separately

Grant repository tokens access only to the projects and actions they need. Store signing private keys and export passwords in protected CI credentials, and inject them only for the relevant job. Never put them in repositories, shared caches or build artifacts.

Restrict release branches and approvers. External PRs, ad hoc scripts and dependency installation jobs shouldn't receive signing variables automatically.

Check: who can trigger a signing job?

Use a temporary Keychain

Create a separate temporary Keychain for each job that needs signing, and unlock it only during the signing stage. Import only the required identity, then configure access for your toolchain instead of exposing the private key to every process.

If multiple jobs run concurrently on the same machine, give each one a separate name and working directory. Don't reuse the same temporary Keychain.

Check: is the Keychain unlocked for longer than the job requires?

Clean up even when jobs fail

Add deletion of temporary Keychains, provisioning profiles and sensitive export files to the pipeline's final cleanup stage. Cover failed and canceled builds, and restore the Keychain search list to its previous state.

Cleanup scripts can't revoke credentials that have already leaked. If a credential appears in logs or artifacts, revoke and rotate it immediately, then review who can access those records.

Check: are any files left behind after a job is canceled?

Run an acceptance build without secrets first

First verify runner labels, working directories and cache paths with a build that has no release credentials. Only then enable protected signing jobs. Disable command echo, and never print full environment variables, Keychain passwords or exported signing file contents. Cache only rebuildable dependencies and intermediate build outputs, not entire user directories.

Deleting a temporary Keychain removes only that storage. It doesn't automatically remove logs, backups, caches or uploaded artifacts. Check each of these separately during acceptance testing.

Revoke access, then wipe before handoff

Service stops when the term ends if you don't renew. Shutdown, disk erasure and redeployment are separate stages. Don't treat an expired machine as a backup you can retrieve data from at any time, or assume shutdown invalidates external tokens.

  1. 01

    Stop scheduling jobs

    Pause this runner in your CI scheduler and wait for active builds to finish or cancel them. Confirm no release job is still writing artifacts, then remove the runner registration from your team's runner list.

  2. 02

    Export data and revoke access

    During the rental term, export any artifacts, configuration and logs you need to keep, then verify they can be accessed elsewhere. Revoke repository access tokens, deployment keys and temporary signing credentials. Rotate any credentials you still need according to your team's process.

  3. 03

    Confirm handoff

    During handoff, the platform erases the disk and reinstalls macOS before preparing the machine for its next deployment. Deleting directories yourself doesn't replace this process. To request confirmation of cleanup, open a console support ticket and include the order and instance details.

Specify the scope when requesting cleanup confirmation

Include your order number and instance ID in the support ticket, and say whether you configured additional storage. Specify which disks need confirmation and ask about their processing status. Retention and deletion rules are governed by the Terms of Service, Privacy Policy and order records. This page doesn't equate shutdown with completed erasure or promise a recovery period.

Review node locations and plan for recovery

Our four locations—Singapore, Tokyo, Seoul and Hong Kong—provide network access to physical Mac minis, with 365-day continuous operation. Data center power and upstream network safeguards don't replace your team's own backups or pipeline retries.

Understand power redundancy

Data center power safeguards and application recovery are separate concerns. If project acceptance requires a power redundancy topology, switchover details or specific documentation, confirm these for your chosen location before deployment. Data center safeguards don't guarantee uninterrupted jobs.

Check: scope of power safeguards at the selected location

Check the full network path

Public IPv4 and SSH provide access to the machine. Code checkout, dependency downloads and artifact uploads also rely on the network paths to their respective services. SSH access to the machine doesn't mean every external dependency is reachable.

Check: the access path from repository to artifact registry

Keep builds reproducible

You can assign different jobs to runners at multiple locations, but disks aren't automatically synced and another location won't take over automatically. Keep toolchain installation records, cache rebuild instructions and rerunnable pipeline configuration.

Check: where jobs go if a machine becomes unreachable

Don't use the runner as your only copy

Keep source code in your team's repository and upload artifacts to team-managed storage. Use the machine's working directory as an execution copy. Make release steps safe to rerun so network retries don't publish duplicates. Rebuild caches when needed instead of relying on manual state on a particular machine.

Keep account access separate from machine credentials

Use the console to manage orders, instances, billing and support tickets; SSH keys to access machines; and CI registration tokens to authorize runners. Manage these three credential types separately—removing one doesn't revoke the other two.

Report security issues with only the necessary details

For an existing order, open a support ticket through the console. If you can't log in, email support@sshmini.comInclude the instance ID, what happened, steps to reproduce and the impact. Redact tokens, passwords and signing data from logs first.

Set permissions before registering a runner

Choose a machine configuration, define permissions by repository and job, and make release certificates available only to the step that needs to sign.