This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |