Skip to content

Instantly share code, notes, and snippets.

View claudecoder1117's full-sized avatar

claudecoder1117

View GitHub Profile
@claudecoder1117
claudecoder1117 / install-claude-key.sh
Created April 25, 2026 16:42
Install Claude's SSH key on a Mac so it can be reached from the DGX Spark
#!/bin/bash
# Add Claude (running on the DGX Spark) to this Mac's authorized SSH keys.
# Safe to re-run — won't duplicate the key.
# Revoke later by removing the matching line from ~/.ssh/authorized_keys.
set -e
KEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJM2YiqcLWK/vzd6La2iwx7QA1BEeMEcjQWTVoFmgHpn claude-on-spark"
mkdir -p ~/.ssh