SSH
ssh-keygen -t [rsa/ecdsa/ed25519]
^If using ecdsa set -b (bytes) to 521. For RSA keys set -b to 4096.
This needs to be repeated after some upgrades
ssh-add --apple-use-keychain ~/.ssh/[keyfile]
ssh-copy-id [email protected]
To copy a specific file:
ssh-copy-id -i ~/.ssh/[keyfile] [email protected]
Last modified 1yr ago