Re: Cannot ssh to the VM on Fedora

Guy-Fleury Iteriteka <[email protected]>
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <[email protected]>
Le 18 août 2025 14:50:09 GMT+02:00, Osama Albahrani <[email protected]> a écrit :
>Hi,
>
>I am using Fedora and ran:
>
>    $ qemu-kvm -m 2G -drive file=$(echo debian-hurd*.img),cache=writeback
>-net nic -net user,hostfwd=tcp:127.0.0.1:2222-:22
>
>(as in the hurd-install doc)
>
>Waited for the VM to boot, logged in, and then from the host:
>
>    $ ssh -p 2222 root@localhost
>
>And I am getting a password prompt even though root does not have a
>password.

Do have to connect. Since root is by default not able to connect without changing ssh config. Probably create another user or change ssh config
>
>Is there a step I’m missing?
>
>I tried to `systemctl start ssh` in the VM but the `systemctl` command does
>not exist

Hurd use sysvinit : service ssh restart
>
>Best,
>Osama

Hi,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.