Step 3: Copy SSH key to server Now that we have a key, we can transfer it to our server. This can be done with ssh-copy-id . Run: ssh-copy-id @ and it should just work(TM). If this didn't work, you can manually add the key yourself. Print the key in your terminal and copy it: cat ~/.ssh/id_ed25519.pub . Connect to your server: ssh @