X11 Forwwarding
X11 forwarding allows a user to connect to a remote machine and open a connection to the X11 interface on the remote machine.
Some uses for X11 forwarding are to set up VNC connections or for ethereal connections to capture packets.
Some security issues to remind users of are the fact that if you can see what is happening on someone else's machine through SSH, they can do the same to you. If you use weak file permissions this will allow someone to have access to your system. The Hacking Linux Exposed site covers this vulnerability. With this in mind let's look at how we can set up X11 Forwarding.
The guide can be found here.
Starting up an X11 connection is done through the command:
ssh -X
You also need to ensure X11 connections are enabled on the server you are conencting to.
On the machine you are going to connect to the sshd2_config file needs this line added:
AllowX11Forwarding yes
Also X11 forwarding needs to be enabled within your sshd_config file with the following line:
X11Forwarding yes
To return to the main directory for SSH tutorials.
Some uses for X11 forwarding are to set up VNC connections or for ethereal connections to capture packets.
Some security issues to remind users of are the fact that if you can see what is happening on someone else's machine through SSH, they can do the same to you. If you use weak file permissions this will allow someone to have access to your system. The Hacking Linux Exposed site covers this vulnerability. With this in mind let's look at how we can set up X11 Forwarding.
The guide can be found here.
Starting up an X11 connection is done through the command:
ssh -X
You also need to ensure X11 connections are enabled on the server you are conencting to.
On the machine you are going to connect to the sshd2_config file needs this line added:
AllowX11Forwarding yes
Also X11 forwarding needs to be enabled within your sshd_config file with the following line:
X11Forwarding yes
To return to the main directory for SSH tutorials.

<< Home