forked from finn/tinyboard
Update readme
This commit is contained in:
12
README.md
12
README.md
@@ -35,6 +35,18 @@ cd tinyboard
|
|||||||
./setup.sh # option 1 (configure new spoke)
|
./setup.sh # option 1 (configure new spoke)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Adding the Spoke's Public Key to the Hub
|
||||||
|
|
||||||
|
During `setup-spoke.sh`, a key pair is generated on the spoke for the autossh tunnel. The script will display the public key and pause. Before pressing ENTER, the hub owner must add the public key to the hub user's `authorized_keys`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo "<paste public key here>" >> ~/.ssh/authorized_keys
|
||||||
|
```
|
||||||
|
|
||||||
|
Once the key is added, press ENTER on the spoke to continue. The script will test the SSH connection and if successful, bring up the tunnel.
|
||||||
|
|
||||||
|
The private key never leaves the spoke — only the public key is shared.
|
||||||
|
|
||||||
### Onboarding a Spoke from the Hub
|
### Onboarding a Spoke from the Hub
|
||||||
|
|
||||||
Once the spoke tunnel is up, run on the hub:
|
Once the spoke tunnel is up, run on the hub:
|
||||||
|
|||||||
Reference in New Issue
Block a user