ssh keys
One-command access
Add my public key to any server, instantly.
Quick install
curl -fsSL https://anujsh.com/ssh.sh | sh
Safe & idempotent — run on any server
Or add manually
- Copy the commands below
- Run on your target server:
1mkdir -p ~/.ssh && chmod 700 ~/.ssh
2echo "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGdaNTFylN4rZ2OR6D326SPpEOIIoFRHsK1/jvIZjd7S9lahefifkCfQ9DoDT+AyOFBq1+yOsb5UTQoACttQ01M= #ssh.id - @ptmaroct" >> ~/.ssh/authorized_keys
3chmod 600 ~/.ssh/authorized_keys