User Tools

Site Tools


linux:ssh_x

X Forwarding with SSH

xauth has to be installed on the Server.

root@server: yum install xauth

ssh configuration

sshd_config is only serverside.
ssh_config is client side.
Allthough you probably use your machine as both anyway, so you might want to change both config files on all of your systems.

#/etc/ssh/sshd_config
X11Forwarding yes
service sshd restart
#/etc/ssh/ssh_config
ForwardX11 yes
ForwardX11Trusted yes

using x forwarding

To actually use the feature use the switch -X. For example:

ssh -X root@server virt-manager
linux/ssh_x.txt · Last modified: 2013/02/02 17:28 by skull@darktemple.ch