SSH log in requires password
Readme says:
# Now login using the root account, no password
# Or ssh:
ssh root@localhost -p 2222
but with
ssh root@localhost -p 2222
a password is required.
Note: the password also changes at each new docker run --rm -it ..
Did you run xochitl?
Indeed, running xochitl will change the root password on first run. We can probably have the script log it, or somehow prevent xochitl from setting it
Yes this is when I'm running xochitl. I'd be happy with solution that SSH-logins with my local/given via env SSH key.
Perhaps setting up something similar to sshpiper to handle the authentication from the container to qemu would be a good solution? That way you can setup a SSH key between the container and qemu, and then dynamically map in the authentication that you would use to connect from the host system to sshpiper as part of creating the container.
xochitl calls usermod -p to set the password, we could also prevent that.
Adding ssh -o StrictHostKeyChecking=no root@localhost 'rm /usr/sbin/usermod' to Dockerfile at line 150 prevents xochitl from calling usermod, allowing ssh login without password.
that's probably not a good idea
just make it log it