5 ms·
If you go this way, why not simply use SCP on the host?
by runyor 8y ago
If you go this way, why not simply use SCP on the host?
- TicklishTiger 8y agoWhere would I scp to?
- edoceo 8y agoSCP from Guest to Host
- TicklishTiger 8y agoWhat is the ip of the host? I am pretty sure the guest is seeing a lan that only contains itself.
- seiferteric 8y agoIt sounds like you are talking about NAT mode on virtualbox. In this case you can set up port forwarding in the network settings. Also, you can actually reach the host from the guest. In my case my guest has an IP of 10.0.2.15 by default, and I can reach the host on 10.0.2.2
- runyor 8y agoYou open a shell on the host, and then `scp guest:path/to/file target/path/to/file`.
- TicklishTiger 8y agoWhat is 'guest' here? As far as I know, the VM does not have an IP on the lan.
- runyor 8y agoI mean, you need to be able to use your VM Manager tool to find out what is the IP/hostname of your guest.
- zymhan 8y agoA Default VirtualBox configuration does not allow direct host-> guest access, it's on some hidden VB-only NAT. You need to change the Network Interface type to Bridged or Host-only or something else to have access to the VM.
- runyor 8y agoI haven't done it for some time, but in my memory it was neither a problem on OSX nor on Linux with VBox. Maybe try Vagrant? I don't remember, sorry. But ask around and you should find a super easy way to make this happen.