SSH
Connect with ssh
Exit an ssh session
Tunneling
Socks 5 proxify
Proxify connexion with an ssh tunnel
Certificates
Generate a keys pair
Bash
# RSA
ssh-keygen -t rsa -b 2048
# ECDSA
ssh-keygen -t ecdsa -b 521
# ed25519
ssh-keygen -t ed25519
# best practice
ssh-keygen -t ed25519 -f ~/.ssh/<NewKey>
Send the public key to a server