Sshd Configure X Forwarding: Difference between revisions
Jump to navigation
Jump to search
(→Client) |
|||
Line 6: | Line 6: | ||
=Server Configuration= | =Server Configuration= | ||
<span id='X11Forwarding'></span> | |||
Set | Set | ||
Revision as of 00:43, 12 July 2017
Internal
Overview
Server Configuration
Set
X11Forwarding yes
in /etc/ssh/sshd_config and restart the sshd server.
Client
Connect with:
ssh -X user@host
This will set the DISPLAY variable appropriately and ssh will transparently forward X protocol requests back to the X server running on the host connection was initiated from. Note that an X server has to run and be configured to accept connections. How to do this on Mac is described here: