User Tools

Site Tools


ssh_gui

/etc/ssh/sshd_config

echo -e "X11Forwarding yes
X11DisplayOffset 10  
X11UseLocalhost yes" >> /etc/ssh/sshd_config

Restart SSH

/etc/init.d/ssh restart

Install xauth

apt-get install xauth vim -y

Configure xauth

touch ~/.Xauthority && xauth generate :0 . trusted
xauth add ${HOST}:0 . $(xxd -l 16 -p /dev/urandom) && exit

Run your app

ssh -X root@mymachine app
ssh_gui.txt · Last modified: 2022/06/25 14:03 by neoon