Skip to content.
Infrastructure > SetupX11Connection
These are the steps to tunnel an SSH connection

Apple Mac OS X

  • Install X11
  • Launch X11
  • type "ssh ${user}@${host} -Y", where ${user} is your username, and ${host} is the hostname of the server you are trying to log into

Windows

  • First method- redirect output by setting the DISPLAY variable of your console to your local IP address and having an X-server accept it
    • Start X-server (X-Win32)
    • Find your IP address
      • Open the command prompt
      • Type "ipconfig"
    • Set the DISPLAY environment variable
      • for bash, "set DISPLAY ${IP}:0"
      • for csh
  • Second method- tunnel X session over SSH Secure Shell
    • Start X-server (X-Win32)
    • In SSH Secure Shell, click on "Edit" menu item
    • Click on "Settings"
    • Select "Tunneling" option in the left side of the window
    • Verify that the "Tunnel X11 connections" option is selected
    • Click "OK"
    • restart all SSH connections