ssh-keygen
defaults to RSA, -t to specifiy the type of key to create, -b to set the key length to 256, 384 or 521 bits

ssh-keygen -t ed25519 -b 521

ssh-copy-id
to copy a ssh key to another server, -i can specify the name of the private key

ssh-copy-id -i <key-name> <host>

ssh-keygen -R
to remove a host from ~/.ssh/known_hosts

ssh-keygen -R <host>

ssh -J
to connect to a server trough one or more jump hosts

ssh -J root@host1.local root@target.local
ssh -J root@host1.local,root@host2.local root@target.local

remote port binding
to bind local port 12345 to remote port 81, -L to , -N to not execute remote command

ssh -N -L 12345:localhost:81 user@target.local

pseudo-terminal allocation
can be used to run a single command like nano or top

ssh -t user@target.local top
ssh -t user@target.local "tail -f /var/log/remote.log"