Live data from Hacker News

Transfer.sh – Easy file sharing from the command line

transfer.sh

11–20 of 88 posts

Re: Transfer.sh – Easy file sharing from the command line

#15
post #8

This is exactly the use case for Magic Wormhole, which is what the cool kids use to transfer files: https://github.com/magic-wormhole/magic-wormhole Magic Wormhole uses an end-to-end PAKE to create an encrypted transport between two points in the Internet, using a rendezvous server. It doesn't store files, which is almost never what you want; it's not a way to send a file and have 10 or 100 people download it. But it…

This and croc. Link: https://github.com/schollz/croc

Re: Transfer.sh – Easy file sharing from the command line

#16
post #8

This is exactly the use case for Magic Wormhole, which is what the cool kids use to transfer files: https://github.com/magic-wormhole/magic-wormhole Magic Wormhole uses an end-to-end PAKE to create an encrypted transport between two points in the Internet, using a rendezvous server. It doesn't store files, which is almost never what you want; it's not a way to send a file and have 10 or 100 people download it. But it…

This and croc. Link: https://github.com/schollz/croc

Ha - so cool. I love that it can be easily used to send a stream (the only thing I missed in magic-wormhole). Basically,

   ls -lah | croc send  
works.

Thanks for this link!

Re: Transfer.sh – Easy file sharing from the command line

#17
post #5

This stores files for two weeks on a third-party server. What advantages for the intended use cases does transfer.sh have over netcat invented 26 years ago? I know some people who have used nc for those entire 26 years to xfer files point-to-point from the command line.

Netcat is seriously awesome, and still exists very much under the radar of a lot of people. I've used to to copy files around the planet, the datacenter, and the lab. It excels at doing things "right now". If I have a terminal window open on a server in France and one in the US; then I can easily move that file. However, If I have to move my body to the target location before I can copy the file it doesn't work as we…

I would like to know if there are any advantages to use nc instead of scp ?

Re: Transfer.sh – Easy file sharing from the command line

#18
post #17

Earlier quoted context omitted.

Netcat is seriously awesome, and still exists very much under the radar of a lot of people. I've used to to copy files around the planet, the datacenter, and the lab. It excels at doing things "right now". If I have a terminal window open on a server in France and one in the US; then I can easily move that file. However, If I have to move my body to the target location before I can copy the file it doesn't work as we…

I would like to know if there are any advantages to use nc instead of scp ?

Most obviously, the same things as its disadvantages:) With nc, you don't have encryption or authentication, which is good - faster, no keys to set up, no fingerprints to accept - and terrible - no transport encryption, no data integrity verification, no access control except for at the network layer. Also, slight difference in how you use them: scp operates on files, nc on streams. But you can just pipe over SSH, so that's not a big difference IMO.

Re: Transfer.sh – Easy file sharing from the command line

#20
post #8

This is exactly the use case for Magic Wormhole, which is what the cool kids use to transfer files: https://github.com/magic-wormhole/magic-wormhole Magic Wormhole uses an end-to-end PAKE to create an encrypted transport between two points in the Internet, using a rendezvous server. It doesn't store files, which is almost never what you want; it's not a way to send a file and have 10 or 100 people download it. But it…

This and croc. Link: https://github.com/schollz/croc

Considering that a small deviation from a cryptographic protocol could fully turn cipher text to plaintext in a revered tool frequently recommended in HN:

https://redrocket.club/posts/croc/

I would hesitate a bit before rushing to use cool kids’ software (until it’s sufficiently proven).

Post reply on HN