how to setup for ssh to a linux guest from a windows host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
kenalex
Posts: 1
Joined: 1. Oct 2008, 13:23

how to setup for ssh to a linux guest from a windows host

Post by kenalex »

I am curently using Windows VIsta 64 bit as the host for virtual box and Ubuntu as the guest. I would like to know what network network method will allow me to ssh to the guest OS (ubuntu) from the host given that a sshd daemon is already setup on the guest.


Thank You
Kenalex
Dest
Volunteer
Posts: 138
Joined: 11. Jan 2008, 17:03
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 2000, Windows XP, Ubuntu, FreeBSD

Post by Dest »

what your looking for is port forwarding which is explained in the user manual under section 6.4.1

In fact, the example they give is how to setup a ssh port forward
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

You can also use Host Interface Networking (if you want a bridge or not is up to you to decide, it really isn't needed for Host <> Guest communication). However, it could be a bit harder to get it working if Vista is messing with the network again.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply