SSH to Debian Guest from Windows host via Putty
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: SSH to Debian Guest from Windows host via Putty
Post the VirtualBox.xml (as an attachment)
Re: SSH to Debian Guest from Windows host via Putty
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
The post I was reading
viewtopic.php?f=6&t=52561
- Attachments
-
- Adaptor-settings.zip
- Host only adaptor settings in windows networking and VB
- (56.6 KiB) Downloaded 13 times
Re: SSH to Debian Guest from Windows host via Putty
Here is the Virtualbox.xml file from the Windows 7 host.
- Attachments
-
- VirtualBox.zip
- (1.21 KiB) Downloaded 14 times
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: SSH to Debian Guest from Windows host via Putty
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>Re: SSH to Debian Guest from Windows host via Putty
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.Perryg wrote:In the VirtualBox main manager go to file -> preferences -> network and compare the settings below.
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
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
It seems you went over my comment so I'll come back to it.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
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.