Skip to content

Instantly share code, notes, and snippets.

Embed
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
@wuhanstudio
Copy link
Author

wuhanstudio commented Dec 12, 2019

ssh -Y ubuntu@your.host.ip

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