Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use OnionShare in linux

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to use OnionShare in linux. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

OnionShare: share files anonymously through Tor

OnionShare is an interesting open source tool for Linux, Windows, and macOS.

It allows you to safely share files directly from your computer to the recipient without exposing your identity in the process. You don't have to sign up for any account, and it doesn't rely on any centralized storage service.

It is basically a peer-to-peer service on the Tor network. Recipients only need a Tor browser to download / upload files to your computer. If you are curious, I also suggest you take a look at our Tor guide to explore more about it.

Let's take a look at its function.

The function of OnionShare

For an ordinary user who only wants security and anonymity, it doesn't need to be adjusted. However, if you need it, it also has some advanced options.

Cross-platform support (Windows, macOS and Linux).

Send a file

Receive Fil

Command line options

Publish Onion site

Be able to use bridging (if your Tor connection doesn't work)

Ability to share using persistent URL (advanced users).

Stealth mode (safer)

You can learn more about them through the official user guide on GitHub.

Install OnionShare on Linux

You should be able to find OnionShare in your software center and install it. If not, you can add PPA on the Ubuntu distribution using the following command:

Sudo add-apt-repository ppa:micahflee/ppasudo apt updatesudo apt install-y onionshare

If you want to install it on other Linux distributions, you can visit the official website for installation instructions and build instructions on Fedora.

Download OnionShare

How does OnionShare work?

When you install it, everything is clear and easy to use. But if you want to get started, let me tell you how it works.

When finished, it loads and connects to the Tor network.

Share a file

You just need to add the files you want to share on your computer, and then click "Start sharing".

When finished, the status in the lower right corner should be "Sharing", and then an OnionShare address will be generated (automatically copied to the clipboard), as shown in the following figure.

What the receiver needs now is the address of the OnionShare, which looks like this.

Http://onionshare:xyz@jumbo2127k6nekzqpff2p2zcxcsrygbnxbitsgnjcfa6v47wvyd.onion

Then the Tor browser starts downloading the file.

It is worth noting that when the download is complete (the file transfer is complete), file sharing stops. And I'll let you know.

So, if you want to share again or share with others, you must re-share and send the new OnionShare address to the recipient.

Allow files to be received

If you want to generate a URL and ask someone to upload the file directly to your computer (pay attention to who you share it with), you can click the Receive Files tab after starting OnionShare.

You just need to click the "Start Receive Mode" button to get started. Next, you will get an OnionShare address (just like when sharing files).

The recipient must use a Tor browser to access it and start uploading files. It should look like this:

Although you will be notified of a file transfer when someone uploads a file to your computer, you need to manually stop receiving mode when it is done.

Download / upload files

Considering that you have installed a Tor browser, all you have to do is enter the address of OnionShare in the URL address, confirm the login (press the OK key), and it looks like this.

Similarly, when you get an address to upload a file, it looks like this.

Publish Onion site

If you want, you can add files directly to host a static onion site. Of course, because it is a peer-to-peer connection, it will be very slow to load when it transfers each file from your computer.

I tried to test it with a free template, and it worked well (but slowly). So, it may depend on your network connection.

This is the end of the article on "how to use OnionShare in linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report