Hi. If I understand you correctly, you need to set connecting to your root passwordless. First on your main user you do
ssh-keygen -t ed25519 -C "deploy".Then you need to start
ssh-copy-id root@yourDomainName.For some reason I also did
hostnamectl set-hostname *domain name*, but I don't remember why. Then do sudo nano /etc/ssh/sshd_config and make PasswordAuthentication no.Docs are not good at explaining, sadly, so I made this:
https://timursagdenov.neocities.org/deltachatrelayinstallguide
I made this a long ago, so it may be not actual, but some people think it's better for deploying than the official docs.
@delta