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"
|
||||||
|
```
|
||||||
2
all.pub
Normal file
2
all.pub
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# All public keys
|
||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIENzm1YuFih+g2wHfME9JAU7J6asMJ4kiudetHNfAHI2 dell01
|
||||||
1
keys/dell01.pub
Normal file
1
keys/dell01.pub
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIENzm1YuFih+g2wHfME9JAU7J6asMJ4kiudetHNfAHI2 dell01
|
||||||
Reference in New Issue
Block a user