I realize this is a dumb question, but what's a good way to do this between an iPhone and a MacBook? Airdrop is disabled (by policy), iCloud storage is full (because I'm lazy), and I use syncthing on every other device, but I haven't found a client I can use on my work iPhone.
Connect both devices to the same WiFi network and use a http server like: python -m http.server
Magic Wormhole: get things from one computer to another, safely
71–80 of 262 posts
Re: Magic Wormhole: get things from one computer to another, safely
#72Earlier quoted context omitted.
Right. Also you may have to reconfigure some firewalls to use scp. Typically, a firewall allows outbound connections without needing an explicit entry for the protocol, and in the case of magic wormhole, both sides are an outbound connection. So it passes right through. If you've got security-minded folk managing that sort of thing for you, it's possible that magic wormhole will upset them for this reason. More for p…
Both problems can be worked around by having a third, general-purpose host where both source/destination hosts can scp to/from. Not quite as straightforward because you have to copy twice and do it from both sides, but has the benefit of not having to install bespoke software.
Yup it's what I do, that 3rd computer having a fixed IP. Conveniently that computer can also keep a copy of the file(s).
Linux/BSDs/OS X (which is kinda a Unx too) all come stock with scp* and I don't really use Windows, so I'm a happy camper.
Re: Magic Wormhole: get things from one computer to another, safely
#73Re: Magic Wormhole: get things from one computer to another, safely
#74I've used wormhole once to move a 70 GB file. Couldn't possibly do that before. And yes, I know I used the bandwidth of the relay server, I donated to Debian immediately afterwards (they run the relay for the version in the apt package).
(magic-wormhole author here) Thanks for making a donation! I run the relay server, but the Debian maintainer agreed to bake an alternate hostname into the packaged versions (a CNAME for the same address that the upstream git code uses), so we could change it easily if the cost ever got to be a burden. It hasn't been a problem so far, it moves 10-15 TB per month, but shares a bandwidth pool with other servers I'm rent…
Does wormhole try something like that before acting as a relay?
Re: Magic Wormhole: get things from one computer to another, safely
#75An alternative that tends to be faster (note: I'm one of the authors) https://github.com/SpatiumPortae/portal
Re: Magic Wormhole: get things from one computer to another, safely
#76I realize this is a dumb question, but what's a good way to do this between an iPhone and a MacBook? Airdrop is disabled (by policy), iCloud storage is full (because I'm lazy), and I use syncthing on every other device, but I haven't found a client I can use on my work iPhone.
Re: Magic Wormhole: get things from one computer to another, safely
#77author here.. happy to answer any questions!
Re: Magic Wormhole: get things from one computer to another, safely
#78A similar project with some nice features that I use is croc: https://github.com/schollz/croc
Re: Magic Wormhole: get things from one computer to another, safely
#79Re: Magic Wormhole: get things from one computer to another, safely
#80I find `syncthing` pretty useful for this kind of stuff. It's been around a long time and has a lot of different options for configuration and clients for every platform you could imagine, both UI based and command line. On every *nix platform I would just install the `syncthing` package and use it quite easily. I've experimented with some wormhole stuff before and looked at this package some, but there would be a lo…