Re: Cannot ssh to the VM on Fedora
Stéphane Glondu <[email protected]>
| Newsgroups | gmane.linux.debian.ports.hurd |
|---|---|
| Message-ID | <[email protected]> |
Hello, Le 18/08/2025 à 14:50, Osama Albahrani a écrit : > 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? You have to set up a password (on the console) for which ever user you want to ssh-login with (I prefer to use demo instead of root). For password-less ssh-ing, I also installed my SSH key in the VM (using e.g. ssh-copy-id). Cheers,