Page 2 of 2
Re: SSH to Debian Guest from Windows host via Putty
Posted: 21. May 2013, 21:44
by Perryg
Post the VirtualBox.xml (as an attachment)
Re: SSH to Debian Guest from Windows host via Putty
Posted: 21. May 2013, 21:53
by munder
I have just been reading a post where the user is experiencing a similar problem, I disabled the Network Activity Hook server LWF Packet Inception Driver on the host only network adaptor. The Host only adaptor now has details (shown in image attached), I change them to the ones you posted but it defaults back to the details in the image attached. Disabling the Network Activity Hook server LWF Packet Inception Driver actually kept IP address in the adaptor box.
The post I was reading
viewtopic.php?f=6&t=52561
Re: SSH to Debian Guest from Windows host via Putty
Posted: 21. May 2013, 21:59
by munder
Here is the Virtualbox.xml file from the Windows 7 host.
Re: SSH to Debian Guest from Windows host via Putty
Posted: 21. May 2013, 22:18
by Perryg
Code: Select all
<ExtraDataItem name="HostOnly/VirtualBox Host-Only Ethernet Adapter/IPAddress" value="192.168.56.1"/>
<ExtraDataItem name="HostOnly/VirtualBox Host-Only Ethernet Adapter/IPNetMask" value="255.255.255.0"/>
</ExtraData>
<MachineRegistry>
<MachineEntry uuid="{8d4bf784-80a5-4acb-9683-d5b32f92b596}" src="C:\Users\Matt\VirtualBox VMs\Debian\Debian.vbox"/>
</MachineRegistry>
<MediaRegistry>
<HardDisks/>
<DVDImages/>
<FloppyImages/>
</MediaRegistry>
<NetserviceRegistry>
<DHCPServers>
<DHCPServer networkName="HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter" IPAddress="192.168.56.100" networkMask="255.255.255.0" lowerIP="192.168.56.101" upperIP="192.168.56.254" enabled="1"/>
</DHCPServers>
The xml shows the proper data. Cold boot the host. (power cycle)
Re: SSH to Debian Guest from Windows host via Putty
Posted: 22. May 2013, 03:14
by Koen027
Perryg wrote:In the VirtualBox main manager go to file -> preferences -> network and compare the settings below.
host-only-1.png
host-only-2.png
I would like to add that changing the IPv4 address in the Adapter tab doesn't actually save it. My guess is that once such an adapter is created, it's stuck with its address.
I had the exact same problem, presumably with the exact same guide. I solved it by deleting that Host-Only Network(only one listed) and made a new one, with the settings shown above. I then started the VM, logged in to the guest and then tried to SSH in to the guest and it worked.
See, I just assumed this Host-Only Adapter to be a "thing that just worked". Nobody ever mentioned any settings or the fact that it's possible to configure multiple and select from it. That's something you can't know if you haven't been told.
That's my experience, no guarantee it will work for munder.
Re: SSH to Debian Guest from Windows host via Putty
Posted: 22. May 2013, 21:29
by munder
I cold booted the host (I am presuming you meant give my windows 7 a hard shutdown by holding down the power button). Still no luck

Re: SSH to Debian Guest from Windows host via Putty
Posted: 25. May 2013, 16:20
by Koen027
munder wrote:I cold booted the host (I am presuming you meant give my windows 7 a hard shutdown by holding down the power button). Still no luck

It seems you went over my comment so I'll come back to it.
Could you tell us exactly how you tried the alter the settings of the Host-Only adapter?
Did you perhaps edit the value, click OK and then you tried it again only to come to the conclusion that it didn't work?
If that's the case, the description in my previous post might be helpful.