Re: Cannot ssh to the VM on Fedora

[email protected]
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <[email protected]>
August 18, 2025 at 8:50 AM, "Osama Albahrani" <[email protected] mailto:[email protected]?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
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.