You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
806 B

  1. SSH Tunnel
  2. ----------
  3. On the server side, you can configure your compose file::
  4. apache:
  5. options:
  6. ssh-tunnel:
  7. domain: ssh.domain.com ## required
  8. #ssh: ... ## required, but automatically setup if you
  9. ## provide a ``cert-provider`` to ``apache``.
  10. On the client side you should add this to your ``~/.ssh/config``::
  11. Host ssh.domain.com
  12. Port 443
  13. ProxyCommand proxytunnel -q -E -p ssh.domain.com:443 -d ssh.domain.com:22
  14. DynamicForward 1080
  15. ServerAliveInterval 60
  16. If it doesn't work, you can do some checks thanks to this command::
  17. $ proxytunnel -E -p ssh.domain.com:443 -d ssh.domain.com:22 -v \
  18. -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n"