ssh X11 forwarding

First make sure that your binary distro of ssh has X11 forwarding support. Commonly it will. But on very old systems you must upgrade it or rebuild the source tree removing ant X11 disabling funtions. On the server side, you must enable X11 forwarding by editting the /etc/ssh/sshd_config file and adding a line
AllowX11Forwarding              yesOn client side we must inform ssh client to give that support so that we must edit either /etc/ssh/ssh_config or the user own ssh config file ~/.ssh/config file by adding a line:
ForwardX11                      yes

If you don't want to use X11 forwarding by default at the client side, you can also turn on forwarding with -X option:

ssh -X username@hostname



Tags: ssh X11




You must be login first or sign-up for an account to post comments.

Maybe you should look at these also: