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

Re: Cannot ssh to the VM on Fedora



August 18, 2025 at 8:50 AM, "Osama Albahrani" <osalbahr@gmail.com mailto:osalbahr@gmail.com?to=%22Osama%20Albahrani%22%20%3Cosalbahr%40gmail.com%3E > wrote:



> 
> 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.
> 
> Is there a step I’m missing?
> 
> I tried to `systemctl start ssh` in the VM but the `systemctl` command does not exist.
> 
> Best,
> Osama


Try pressing return when it asks for a password.  That's how you send an empty password string.

Also it would be a good idea to set a root password.  :)

# passwd


Reply to: