How to Log In to DGX Spark via SSH
You need: the DGX Spark hostname (from the Quick Start Guide, format spark-xxxx.local), your username, and your password. SSH on this system uses port 8288. The default SSH port 22 is disabled on the network for security reasons, so the -p 8288 option is required in the command. Your computer must be on the same network as the DGX Spark.
Replace
<USERNAME> and spark-xxxx.local in the commands below with your own values. Do not type the angle brackets.Windows
- Right-click the Start button and open Terminal (or Windows PowerShell).
- Connect to the DGX Spark:
ssh -p 8288 <USERNAME>@spark-xxxx.local
- If asked about the authenticity of the host, type
yesand press Enter. - Enter your password and press Enter. Nothing is shown while you type; this is normal.
macOS
- Press Cmd + Space, type Terminal, and press Enter.
- Connect to the DGX Spark:
ssh -p 8288 <USERNAME>@spark-xxxx.local
- If asked about the authenticity of the host, type
yesand press Enter. - Enter your password and press Enter. Nothing is shown while you type; this is normal.
Verify and Log Out
When the prompt changes to <USERNAME>@spark-xxxx:~$, you are logged in. To confirm, run:
hostname
To end the session, run:
exit