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.

23 lines
1.1 KiB

4 years ago
  1. +++
  2. title = "Ephemeral Hosting"
  3. description = "Briefly expose your site to the Internet over SSH with encryption."
  4. categories = ["security"]
  5. tags = ["privacy", "networking"]
  6. features = ["related content", "snippets"]
  7. [[copyright]]
  8. owner = "Josh Habdas"
  9. date = "2019"
  10. license = "agpl-3.0-or-later"
  11. +++
  12. Using {{< external href="https://serveo.net" text="Serveo" />}} you may briefly expose your site to the Internet with end-to-end encryption, no sign-up required. Use this to [Work Offline]({{< relref "work-offline" >}}) and quietly poke a hole through your NAT or firewall to move information more discretely.
  13. {{% hackcss-alert type="warning" %}}**Warning:** No form of communication over the Internet is 100% secure.{{% /hackcss-alert %}}
  14. Serve and expose your site with the following command:
  15. ```sh
  16. $ hugo serve --disableLiveReload & ssh -R 80:localhost:1313 serveo.net
  17. ```
  18. Once started press `g` for traffic inspection, or quit to go offline and use `fg` to return to `hugo`. Install {{< external href="https://matt.ucc.asn.au/dropbear/dropbear.html" text="dropbear" />}} or {{< external href="https://www.openssh.com" text="openssh" />}} if you need `ssh`.