A guide to configure OpenSSH for Coolify.
localhost
server - where Coolify is running on.
To validate your configuration, make sure the followings are set on your server.
SSH Enabled
Root Login
PermitRootLogin
is set to yes
or without-password
or prohibit-password
in /etc/ssh/sshd_config
file.SSH Key set on the Server
~/.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.SSH Key set in Coolify
Keys & Tokens
menu -> Private Keys
and set this new key in the localhost server settings.