SSH
SSH stands for Secure Shell, a protocol that allows you to communicate with a computer securely from a remote location.
How to use SSH (client)
Install
- Arch
- Ubuntu
sudo pacman -S openssh
sudo apt install openssh-client
Key Generation
Generate a key with ssh-keygen.
- EdDSA
- RSA
- ECDSA
ssh-keygen -t ed25519
ssh-keygen -t rsa -b 4096
ssh-keygen -t ecdsa -b 521
By default, the public key id_[algorithm].pub
and the private key id_[algorithm]
are created in ~/.ssh/
. You can communicate without password authentication by registering a public key with the SSH server.