Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
SSH port forwarding configuration
# /etc/ssh/sshd_config
# Port forwarding
AllowAgentForwarding yes
AllowTcpForwarding yes
GatewayPorts yes
# X11
X11Forwarding yes
X11UseLocalhost no
# Keep alive
ClientAliveInterval 60
ClientAliveCountMax 5
Copy link

wuhanstudio commented Dec 12, 2019

ssh -Y

Open images from remote terminal and display on local computer

eog test.jpg
feh test.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment