Register Your DGX Spark

View as Markdown

Register your NVIDIA DGX Spark with Brev to enable SSH access, share it with your team, and forward ports — all through the Brev CLI.

Prerequisites

Registration

1

Install the Brev CLI

Install the Brev CLI on your DGX Spark:

$curl -fsSL https://brev.nvidia.com/install | bash
2

Log in to Brev

Authenticate with your Brev account:

$brev login
3

Register your DGX Spark

Register the machine with a descriptive name:

$brev register "My DGX Spark"

This command performs three steps:

  1. Installs NetBird — A mesh VPN agent for secure connectivity
  2. Profiles hardware — Detects your GPU, CPU, RAM, storage, and interconnects
  3. Registers with Brev — Makes the machine visible in your organization

This requires sudo access. NetBird is installed as a systemd service.

4

Enable SSH access

Enable SSH so you and your team can connect:

$brev enable-ssh

When prompted, enter the SSH port (default is 22).

Your DGX Spark is now registered and accessible through Brev.

Connecting to Your DGX Spark

From any machine with the Brev CLI installed:

$brev shell my-dgx-spark

Sharing with Your Team

Grant SSH access to a teammate:

$brev grant-ssh

This opens an interactive selector where you choose the org member to grant access. Once granted, they can connect with brev shell my-dgx-spark from their own machine.

To revoke access later:

$brev revoke-ssh

Port Forwarding

Forward ports from your DGX Spark to your local machine:

$# Forward Jupyter
$brev port-forward my-dgx-spark --port 8888:8888
$
$# Forward multiple ports
$brev port-forward my-dgx-spark --port 8888:8888 --port 6006:6006

Then open http://localhost:8888 in your browser.

Next Steps