- ssh-keygen -t ed25519
- Enter
- Find pub in Win (C:\Users\username.ssh) or Linux (~/.ssh/)
- cat ~.ssh\id_ed25519.pub and copy all
- Go to server: echo ‘ssh-ed25519 xxxx xxxx’ » ~/.ssh/authorized_keys
- (if need) chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys