ssh-keygen -t ed25519 -C "key name" -f
* Generate a RSA SSH key ssh-keygen -t rsa -b 4096 -C "key name" -f
* Remove a server from the known hostsssh-keygen -f ~/.ssh/known_hosts -R ""
===== Configuration =====
* Connect to a server without providing the key file, add the following to ''~/.ssh/config''.
Host
User
IdentityFile
* Use the SSH agent to avoid inputing the password everytimessh-add