Results 1 to 3 of 3

Thread: ssh tunnel to Virtualbox windows remote desktop - through ubuntu host

  1. #1
    Join Date
    Jun 2008
    Location
    Long way from there..
    Beans
    44
    Distro
    Ubuntu 10.04 Lucid Lynx

    ssh tunnel to Virtualbox windows remote desktop - through ubuntu host

    Hi guys, im trying to implement a new project which requires to have access to a remote desktop on windows.
    But the idea is to not have this windows box directly connected to the web.
    So one thought was this:

    Have Ubuntu (probably 10.04, desktop?) as a host for VirtualBox. And windows installed on VB (guest).
    And the path would be, access ubuntu through SSH tunnel, and access the remote desktop service of the virtual windows.

    First of all, is this possible?
    if it is, some idea where to start? Im not looking for a complete tutorial or howto, but an indication where to start searching to accomplish this..

    Thanks in advance guys
    AMD Phenon X6 1090T/8gb 1333/1tb/radeon 5670/ ubuntu 11.04
    ASUS UL30VT-A1 win7 / ubuntu 11.04 / Fedora 15
    Ubuntu Server 10.04 on old laptop (headless lol)
    Linux User #: 525691

  2. #2
    Dangertux is offline Chocolate Ubuntu Mocha Blend
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,771
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ssh tunnel to Virtualbox windows remote desktop - through ubuntu host

    Yes this should be very easy, in fact it's no different than setting up a regular ssh tunnel

    example

    Code:
    ssh user@host -p 22 -D 4141
    so host is your ubuntu box and user is the username assuming openssh server is running on port 22, and you want to open an SSH listener on port 4141 on the guest machine.

    Now the only trick to this working is that the guest machine has to be on the same network or have access to the Ubuntu host, so you would have to have the guest either bridged or NAT'ed to the host.

    Hope that helps.

  3. #3
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    7,914

    Re: ssh tunnel to Virtualbox windows remote desktop - through ubuntu host

    Hmm, you need not encrypt RDP with SSH, since RDP is encrypted already. Double encryption will slow it down. Just forward port 3389 to the Windows machine.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •