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.

NameWhenFingerprint
dev-agent-01defaultSHA256:etPO39YXUQtByVfDizeqBsvAbDUwegPqQcr8V9UZt3o
workstationdefaultSHA256:KbFqvMwsOrniHBkTWnqRCASEcVbZ4IpK9MSyyF8oN4g
laptop--with laptopSHA256:rUHXa9zhbn9L+Q0oIK6qLeTnr7/kvOxo7j1YDpdVfwE

Install

curl -fsSL https://thepeoples.io/keys/ssh/install-authorized-keys.sh | bash
curl -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_keys

The 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