I run a VM under Mageia 5.1 for experimentation and try to ssh into the VM and use scp to transfer files between the VM and the host.
The VM runs Mageia, which I have installed in text mode without any graphical interface. I included OpenSSL and omitted firewalls.
Now file transfer doesn't work. Running scp (on the host) gives me constantly a file not found error. SSH into the VM IP works, but when I try to use scp (under ssh) I get an ssh error about the host IP refusing connections.
I have checked the firewall on the host and have enabled ping and ssh for all interfaces. Pinging works fine in both directions (pinging the host from the VM and the VM from the host).
So I can ssh into VM, but scp under ssh or on its own fails with a connection refused or a file not found message respectively.
Is there something I miss?