setup ssh keys code example
Example 1: ssh key
ssh-keygen -t ed25519 -C "[email protected]"
cat ~/.ssh/id_ed25519.pub | clip
Example 2: setting up the ssh keys
scp $HOME/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys
ssh-keygen -t ed25519 -C "[email protected]"
cat ~/.ssh/id_ed25519.pub | clip
scp $HOME/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys