Servers
SSH key authentication is more secure than password login. The SSH Keys page lets you add public keys to your server so you (or a CI/CD system) can connect without a password.
Open your server and click "SSH Keys" in the sidebar.
On your local machine, open a terminal and run the keygen command below. Accept the default path and set a passphrase for additional security.
ssh-keygen -t ed25519 -C "your@email.com"
Copy the contents of your public key file. On Mac/Linux use the command below, then paste the output into DeployFly.
cat ~/.ssh/id_ed25519.pub
In DeployFly, click "Add SSH Key". Enter a label (e.g. "My MacBook") and paste the public key into the text area. Click "Add Key".
Open a terminal and SSH into your server using the key. If it connects without prompting for a password, the key was added correctly.
ssh -i ~/.ssh/id_ed25519 root@YOUR_SERVER_IP
Click the trash icon next to any key to remove it. The key is removed from ~/.ssh/authorized_keys on the server immediately.
Watch out
Tips