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
    45
    Distro
    Ubuntu 14.04 Trusty Tahr

    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 14.0
    Thinkpad x201 / ubuntu 14.04
    HP Proliant NL40 / 6gb 1333 / 160gb RAID 1 + 1 Tb RAID 1 / Ubuntu Server 14.04
    Linux User #: 525691

  2. #2
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,769
    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
    Lab, Slovakia
    Beans
    10,790

    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
  •