Error Message and Logs
After a routine system package update (including openssh-server), the localhost server in Coolify became unreachable with the following error:
Server is not reachable.
Error: root@host.docker.internal: Permission denied (publickey,password).
Manual SSH connection using the generated key also initially failed due to misconfiguration, but after fixing /etc/ssh/sshd_config and ensuring the public key is in ~/.ssh/authorized_keys, manual login works:
ssh -i /data/coolify/ssh/keys/id.root@host.docker.internal root@localhost
However, when trying to assign the same private key to the localhost server in Coolify UI, it shows:
This key is not valid for this server.
Both automatic and manual setup steps from https://coolify.io/docs/knowledge-base/server/openssh were followed precisely.
Steps to Reproduce
Example Repository URL
No response
Coolify Version
v4.0.0-beta.460
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22
Additional Information
No response

Error Message and Logs
After a routine system package update (including
openssh-server), the localhost server in Coolify became unreachable with the following error:Manual SSH connection using the generated key also initially failed due to misconfiguration, but after fixing
/etc/ssh/sshd_configand ensuring the public key is in~/.ssh/authorized_keys, manual login works:However, when trying to assign the same private key to the
localhostserver in Coolify UI, it shows:Both automatic and manual setup steps from https://coolify.io/docs/knowledge-base/server/openssh were followed precisely.
Steps to Reproduce
Example Repository URL
No response
Coolify Version
v4.0.0-beta.460
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22
Additional Information
No response