Today, we take a step back to the chapter on desktop PCs as I introduce you to the Wormhole.

Wormhole is a secure file transfer method what can send files securely via command-line, from Linux to Linux user or within your own local network.

To install Wormhole, first start up your Terminal:

Ctrl + Alt + T or Ctrl + Shift + T

On Ubuntu/Debian based Linux versions, type:

sudo apt install magic-wormhole

Fedora:

sudo dnf install magic-wormhole

OpenSUSE:

sudo zypper install python3-magic-wormhole

Snap:

If you have Snap installed, just snap it ;)

sudo snap install wormhole

MacOS:

You need homebrew installed and then just enter:

brew install magic-wormhole

To transfer files both parties need to have Wormhole installed, after this it's a super easy & straightforward process.

Open the Terminal and type:

wormhole send

You will now need to specify the location of the data you'd like to send.

Example:

wormhole send /path/to/thefile

Now just hit enter and you will see a code on the screen, share that code with the person you wish to send the file to.

The receiving site will now need to enter that code in the Terminal to initiate the transfer.

Depending on the file size this transfer can take a while, so do not close the Terminal until the transfer is completed.

This is how it should look on the senders site:

Sending 7924 byte file named 'README.md'
On the other computer, please run: wormhole receive
Wormhole code is: 7-crossover-clockwork
 
Sending (<-10.0.1.43:58988)..
100%|=========================| 7.92K/7.92K [00:00<00:00, 6.02MB/s]
File sent.. waiting for confirmation
Confirmation received. Transfer complete.

And at the receivers end:

Enter receive wormhole code: 7-crossover-clockwork
Receiving file (7924 bytes) into: README.md
ok? (y/n): y
Receiving (->tcp:10.0.1.43:58986)..
100%|===========================| 7.92K/7.92K [00:00<00:00, 120KB/s]
Received file written to README.md

Wormhole has a lot of features, to see what you can do with it enter:

man wormhole

Or read the entire manual as a text file on:

man wormhole > ~/wormhole-manual.txt

Enjoy, it's a great feature and so private & secure!

Stay safe,

The Privacy Advocate