SSH keys
The script adds these public keys to authorized_keys. dev-agent-01 is the primary key. workstation is the backup key. A default install writes both.
| Name | When | Fingerprint |
|---|---|---|
| dev-agent-01 | default | SHA256:etPO39YXUQtByVfDizeqBsvAbDUwegPqQcr8V9UZt3o |
| workstation | default | SHA256:KbFqvMwsOrniHBkTWnqRCASEcVbZ4IpK9MSyyF8oN4g |
| laptop | --with laptop | SHA256:rUHXa9zhbn9L+Q0oIK6qLeTnr7/kvOxo7j1YDpdVfwE |
Install
curl -fsSL https://thepeoples.io/keys/ssh/install-authorized-keys.sh | bashcurl -fsSL https://thepeoples.io/keys/ssh/install-authorized-keys.sh | bash -s -- --with laptop--list, --dry-run, and --file go after bash -s --:
curl -fsSL https://thepeoples.io/keys/ssh/install-authorized-keys.sh | bash -s -- --list
curl -fsSL https://thepeoples.io/keys/ssh/install-authorized-keys.sh | bash -s -- --dry-run
curl -fsSL https://thepeoples.io/keys/ssh/install-authorized-keys.sh | bash -s -- --with laptop --file ~/.ssh/authorized_keysThe default path is ~/.ssh/authorized_keys. The script does not use sudo. It replaces only the block it owns and leaves every other line in place.
Check the script
Digest 5ca3308474c1eb4555d3b0452bb00f890f91a8b87254f9bddab24c52d85d30a1.
curl -fsSL -o install-authorized-keys.sh https://thepeoples.io/keys/ssh/install-authorized-keys.sh
curl -fsSL -o install-authorized-keys.sh.sha256 https://thepeoples.io/keys/ssh/install-authorized-keys.sh.sha256
sha256sum -c install-authorized-keys.sh.sha256