Integration instructions
Step 1: add a user for @leah
Add a user
sudo useradd leah -m && echo "User 'leah' a...
curl sshid.io/leah >> $HOME…
Step 2: add public keys to your servers
Download and integrate via curl
curl sshid.io/leah >> $HOME/leah/.ssh/autho...
curl sshid.io/leah >> $HOME…
Or copy the bash script
PHONE_KEY="ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyAFA12dQKJDoVHqGE5AYB4PZ60A80e2FyKQd/D9USsFU0iIN+X2FrTXYxmjxxgZSjH6HnQvyrV/TgQKIM1bY=" && \
MACBOOK_KEY="ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCl6uFFG4hTqcGZ1CKiDA6gq0O/UZ72hJl7exobX3ivhHoHYwJbfApUZjbGFMe8pJrfJWh4h9nRMnG9YiObH9kwE=" && \
YUBIKEY_KEY="ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyAFA12dQKJDoVHqGE5AYB4PZ60A80e2FyKQd/D9USsFU0iIN+X2FrTXYxmjxxgZSjH6HnQvyrV/TgQKIM1bY=" && \
{ \
echo $PHONE_KEY; \
echo $MACBOOK_KEY; \
echo $YUBIKEY_KEY; \
} >> /home/leah/.ssh/authorized_keys && \
chmod 600 /home/leah/.ssh/authorized_keys && \
chown leah:leah /home/leah/.ssh/authorized_keys && \
echo "Keys added successfully!"
PHONE_KEY="ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyAFA12dQKJDoVHqGE5AYB4PZ60A80e2FyKQd/D9USsFU0iIN+X2FrTXYxmjxxgZSjH6HnQvyrV/TgQKIM1bY=" && \
MACBOOK_KEY="ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCl6uFFG4hTqcGZ1CKiDA6gq0O/UZ72hJl7exobX3ivhHoHYwJbfApUZjbGFMe8pJrfJWh4h9nRMnG9YiObH9kwE=" && \
YUBIKEY_KEY="ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyAFA12dQKJDoVHqGE5AYB4PZ60A80e2FyKQd/D9USsFU0iIN+X2FrTXYxmjxxgZSjH6HnQvyrV/TgQKIM1bY=" && \
{ \
echo $PHONE_KEY; \
echo $MACBOOK_KEY; \
echo $YUBIKEY_KEY; \
} >> /home/leah/.ssh/authorized_keys && \
chmod 600 /home/leah/.ssh/authorized_keys && \
chown leah:leah /home/leah/.ssh/authorized_keys && \
echo "Keys added successfully!"
Or download the authorized_keys file
~/.ssh/authorized_keys
~/.ssh/authorized_keys