Skip to content

Instantly share code, notes, and snippets.

@wuhanstudio
Created December 12, 2019 07:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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

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