localhost
server - where Coolify is running on.
To validate your configuration, make sure the followings are set on your server.
Some commands may vary based on your Linux distribution.
Make sure the SSH key does not have a passphrase. Connection will fail if the
key has a passphrase.
1
SSH Enabled
Make sure SSH is enabled and you can connect to your server with SSH from your local machine with root user.
2
Root Login
Make sure
PermitRootLogin
is set to yes
or without-password
or prohibit-password
in /etc/ssh/sshd_config
file.3
SSH Key set on the Server
Make sure an SSH key is added to the
~/.ssh/authorized_keys
file.
If you installed Coolify with the automated script, you don’t need to do anything else.If you installed Coolify manually, you need to add an SSH key to the ~/.ssh/authorized_keys
file.Make sure the SSH key does not have a passphrase. Connection will fail if the
key has a passphrase.
4
SSH Key set in Coolify
Add the private key to Coolify at
Keys & Tokens
menu -> Private Keys
and set this new key in the localhost server settings.