Can anyone @delta help me with setting up a relay server? I'm following the docs.

  • root ssh access is (reluctantly) allowed
  • pyinfra still asks for password of a random ssh key on my local machine
  • it fails because authentication fails

I don't get it, because password authentication is enabled.

#deltachat #fedihelp

Setting up a chatmail relay - chatmail relay documentation

@pft If your SSH key is password-protected, run "ssh-agent bash", then inside the shell unlock the key with "ssh-add", then run cmdeploy

@delta cheers. I just added a public key to the server to avoid further headaches.

Edit: to clarify: there were no public keys involved. SSH password authentication for root. The script asked me the password and then fails because further on it expected public key authentication and doesn't find any matching keys.

I would mention this explicitly in the docs as a requirement. An option to run locally in the server would also be really appreciated.

@pft It is already written at https://chatmail.at/doc/relay/getting_started.html#minimal-requirements-and-prerequisites that "build machine" needs key-based SSH access to the server.
Setting up a chatmail relay - chatmail relay documentation