Linux Format

FILE TRANSFER Croc

Version: 9.6.12 Web: https://schollz.com/tinker/croc6/

-

If you are a CLI warrior or don’t want to restrict yourself to the local network, Croc can ferry files to any computer on the internet.

It is available in the repos of most distros, but it’s best to install the latest release from source. This doesn’t take much effort and can be achieved with curl https://getcroc.schollz.com | bash . This downloads and extracts the latest release in /tmp, and then installs it under /usr/local/bin, after prompting you for the superuser password. Croc is cross-platform and can be installed in Mac OS and Windows as well.

Use the send option to send a file, such as croc send ~/Documents/some-folder . This displays the size of the transfer, along with a code, which you must send to the recipient.

Then to receive the sent files on another computer, the recipient enters the code with the croc command, such as croc code-phrase , which begins the transfer.

Croc uses the code phrase to establish passwordau­thenticate­d key agreement (PAKE). This generates a key that ensures the transfer is end-to-end encrypted.

Instead of relying on the utility to generate a code, you can use a custom one with the –code option, as long as it is more than six characters long. For instance, croc send --code [custom-code-phrase] doc1.txt doc2.txt ~/Documents/other-files assigns the specified custom code to the transfer.

By default, Croc asks whether to overwrite a file. The recipient can use the –yes and –overwrite options to silently overwrite files, such as croc --yes --overwrite [secret-code] .

You can also send plain text with Croc, such as croc send --text “hello world” . This tells the Croc utility at the recipient’s end to display the sent text in the terminal window.

 ?? ?? It might be a CLI tool, but the good thing about Croc, besides its security and encryption features, is that it doesn’t require any port forwarding.
It might be a CLI tool, but the good thing about Croc, besides its security and encryption features, is that it doesn’t require any port forwarding.

Newspapers in English

Newspapers from Australia