Skip to content

Instantly share code, notes, and snippets.

@swdream
Created December 25, 2018 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swdream/d2dfdb02af11023e6a6e992feef9c7fa to your computer and use it in GitHub Desktop.
Save swdream/d2dfdb02af11023e6a6e992feef9c7fa to your computer and use it in GitHub Desktop.

Edit ssh config :

Edit /etc/ssh/sshd_config

AllowTcpForwarding yes
PermitTunnel yes

Restart ssh service

Tunnel command

ssh host -L 5601:localhost:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment