I´ve got a question regarding ssh-ing into a VM.
Special case though: it´s not an installed VM but rather running a live system (.iso).
Background: I want to help my friend (who lives far away) performing a clonezilla disk-backup of her system.
I could shh into her clonezilla-live system and hopefully help her that way.
I´ve already discussed that topic with Steven Shiau on Clonezilla / Discussion / Clonezilla live: using clonezilla live remotely? . So theoretically it should work,
The thing is: I want to test it beforehand in order to see what it looks like and if things will work out.
For that purpose I run the command
firejail kvm --cdrom /media/rosika/Dokumente/clonezilla-live-20160210-wily-amd64.iso -cpu host -m 512 -boot d
which in effect provides a running live clonezilla system in a VM (nothing installed though).
Now I want to ssh into that system from my host (Lubuntu 20.04.2 LTS).
These were my steps in clonezilla VM:
- starting clonezilla VM
- entering command prompt (shell)
- “sudo ocs-live-netcfg”
- choosing dhcp
- “sudo systemctl start ssh”
- “ip a” says: “eth0”: inet 10.0.2.15/24
- “whoami” says: user
Clonezilla within the VM definitively has got internet connectivity. From there I can ping e.g.
itsfoss.community with 0% packet loss.
I can´t ssh into the clonezilla VM from my host.
“ssh email@example.com” from my host does nothing at all. Nothing happens.
Also (from my host):
ping 10.0.2.15 -c 3 PING 10.0.2.15 (10.0.2.15) 56(84) Bytes Daten. ^C --- 10.0.2.15 ping statistics --- 3 Pakete übertragen, 0 empfangen, 100% Paketverlust, Zeit 2048ms
I.e. I cannot ping my VM.
Does anybody have any idea why that is and what I can do about it? Thanks a lot in advance.