User Tools

Site Tools


ssh_gui

This is an old revision of the document!


/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 -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

ssh_gui.1654294082.txt.gz · Last modified: 2022/06/03 23:08 by neoon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki