[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot ssh to the VM on Fedora



Le 18 août 2025 14:50:09 GMT+02:00, Osama Albahrani <osalbahr@gmail.com> 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,


Reply to: