hhmx.de

🦆 √ 🐄

Föderation · Mi 20.12.2023 14:24:32

@delta

I tried to host chatmail, but it didn't work. I can't understand the way cmddeploy wants to login. There is no way to input a password or to give a ssh-key.

Maybe a little bit more description of these part would be nice?

Delta Chat

Föderation EN Mi 20.12.2023 14:41:47

@Laempel Thanks for the feedback, that would indeed be an improvement. For now I'd recommend to use an SSH config file: linuxize.com/post/using-the-ss

For example:
Host chat.example.org
User root
IdentityFile /home/user/.ssh/id_rsa
Port 22

(Port and IdentityFile are already the default, but that's the general pattern in case it is different in your case)

🦆 √ 🐄

Föderation · Mi 20.12.2023 15:58:10

@delta

Now I tried thias:

PARAMIKO_REPLACE=1 venv/bin/pip install "https://github.com/ploxiln/paramiko-ng/archive/2.8.10.tar.gz#egg=paramiko"

and it seems so, that I fixed the bug by paramiko. But Script can't still log in. Script wants to creat ist own keys or something, and I have to put the public one to the root ssh authorized_keys file, but where I can found it???

Delta Chat

Föderation EN Mi 20.12.2023 16:29:06

@Laempel the file is supposed to be on the server, at /root/.ssh/authorized_keys - through the web interface of your hosting provider you should be able to put it there, or at least set a password so you can log in via ssh and edit the file with nano or vim.

Delta Chat

Föderation EN Mi 20.12.2023 16:30:22

@Laempel if you want to send us more details, you can also send us a mail/delta message at sysadmin@testrun.org, maybe that's easier than mastodon.

🦆 √ 🐄

Föderation · Mi 20.12.2023 18:22:40

@delta [chat.example.com] Authentication error (username=root) (Authentication failed.)
--> pyinfra error: No hosts remaining!

Delta Chat

Föderation EN Mi 20.12.2023 20:31:05

@Laempel can you send the output of `ssh -v root@<your chatmail domain>` to sysadmin@testrun.org ?