mirror of
https://github.com/ghndrx/pubkeys.git
synced 2026-02-10 06:45:09 +00:00
31 lines
695 B
Markdown
31 lines
695 B
Markdown
# 🔑 Public Keys
|
|
|
|
SSH public keys for cross-machine access.
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
# Add all keys to authorized_keys
|
|
curl -sL https://github.com/ghndrx/pubkeys/raw/main/all.pub >> ~/.ssh/authorized_keys
|
|
|
|
# Or specific machine
|
|
curl -sL https://github.com/ghndrx/pubkeys/raw/main/keys/dell01.pub >> ~/.ssh/authorized_keys
|
|
```
|
|
|
|
## Keys
|
|
|
|
| Machine | Type | File |
|
|
|---------|------|------|
|
|
| dell01 | ed25519 | [keys/dell01.pub](keys/dell01.pub) |
|
|
|
|
## Quick Install Script
|
|
|
|
```bash
|
|
#!/bin/bash
|
|
# Install Greg's keys
|
|
mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
|
curl -sL https://github.com/ghndrx/pubkeys/raw/main/all.pub >> ~/.ssh/authorized_keys
|
|
chmod 600 ~/.ssh/authorized_keys
|
|
echo "✓ Keys installed"
|
|
```
|