Your browser does not allow storing cookies. We recommend enabling them.

SSH

X11 Forwarding

X11 forwarding is a special case of remote tunneling.

Tectia ConnectSecure supports X11 forwarding on both Unix and Windows platforms. On Windows, you need also the XWindow Manager package. Tectia Server supports X11 forwarding only on Unix platforms.

X11 forwarding

Figure 6.13. X11 forwarding

X11 forwarding can be enabled in the client by setting the following line in the ssh-broker-config.xml file (either under default-settings or under a connection profile):

<forwards>
  <forward type="X11" state="on"/>
</forwards> 

By default, X11 forwarding is off.

X11 forwarding can be enabled in the Tectia Connections Configuration GUI, under Default Connection → Tunneling for the default connection, and under Connection Profiles → Tunneling per each profile. See Defining Default Tunneling Settings and Defining Tunneling.

To test that X11 forwarding works on Windows, use the XWindow Manager. Log into the remote system and type xclock &. This starts an X clock program that can be used for testing the forwarding connection.

If the X clock window is displayed properly, you have the X11 forwarding working. If the X clock fails and complains that it cannot open the display, check that the XAuth is properly installed on the remote host.

[Note]Note

Do not set the DISPLAY variable on the client. You will most likely disable encryption. (X connections tunneled through Secure Shell use a special local display setting.)


 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more