4 ms·
How I share files from the terminal: python -m http.server 8000 Then I do a quick look at my IP and pass it. If we're not on the same network, then I quickl
by marcodiego 4y ago
How I share files from the terminal:
python -m http.server 8000
Then I do a quick look at my IP and pass it. If we're not on the same network, then I quickly create on with lnxrouter: https://github.com/garywill/linux-router https://github.com/garywill/linux-router
- tyingq 4y agoYou mention constraining by IP, but worth emphasizing that http.server has a history of path traversal and other issues, some fairly recent. In case someone liked the simplicity for some broader use.
- lapinot 4y agoI believe GP is not restricting access by IP, but looking up their server's IP to access from a client.
- sgt 4y agoJust don't do it in your home dir.