SSH & X Forwarding
In modern system, many administration task will rely on the GUI. As you may using remote desktop in M$ Windows environment. Or you may using VNC in X. Or you may using ssh to forward your X display from server to client, your local machine.
- Ensure X11Forwarding is enable in the ssh server side. e.g., /etc/ssh/sshd_config
X11Forwarding yes
- On your local machine run:
ssh -Y user@outerspace.example.com
- After ssh to outer space machine @example.com, you could run any X application and the display will be render on your localscreen, e.g.,
xclock &
You could ssh -Y to host A first and futher ssh -Y to host B. Running X application on host B and the display will render on your local machine, too.