mirror of
https://github.com/ghndrx/pubkeys.git
synced 2026-02-10 06:45:09 +00:00
Initial keys
This commit is contained in:
30
README.md
Normal file
30
README.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# 🔑 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"
|
||||
```
|
||||
Reference in New Issue
Block a user