codex
Search…
SSH

firewall rules and restrictions

ssh keygen

1
ssh-keygen -t [rsa/ecdsa/ed25519]
Copied!
^If using ecdsa set -b (bytes) to 521. For RSA keys set -b to 4096.

adding keys to macos keychain

This needs to be repeated after some upgrades
1
ssh-add --apple-use-keychain ~/.ssh/[keyfile]
Copied!

Copying keys to a remote host

1
ssh-copy-id [email protected]
Copied!
To copy a specific file:
1
ssh-copy-id -i ~/.ssh/[keyfile] [email protected]
Copied!
Last modified 3mo ago