不同网络非直连电脑文件传输工具推荐(替代Linux版TeamViewer 13)
Hey there, I totally get the frustration—losing Linux file transfer support in TeamViewer 13 is a bummer, especially when you need to move files between machines on different networks. Here are some great file-transfer-only tools that fit your needs, organized by how easy they are to set up:
Magic Wormhole (P2P, No Middle Server)
This is my go-to for quick, secure cross-network transfers. It's built exclusively for sending files/folders between devices, uses end-to-end encryption, and handles NAT penetration automatically so you don't have to mess with port forwarding.
- Install on Linux:
sudo apt install magic-wormhole(works on Debian/Ubuntu; usepip install magic-wormholefor other distros) - How to use:
- On the sending machine: Run
wormhole send /path/to/your/file-or-folder. You'll get a code like7-silver-saturn-456. - On the receiving machine: Run
wormhole receive 7-silver-saturn-456, confirm the file name/size, and the transfer starts immediately.
- On the sending machine: Run
scp + Reverse SSH Tunnel (For Reliable, Repeat Transfers)
If you have access to a cloud VPS (even a cheap one), this method is rock-solid and uses SSH encryption for security. It lets you route transfers through the VPS when machines can't reach each other directly.
- Setup steps:
- On the machine without a public IP: Create a reverse tunnel to your VPS:
ssh -R 2222:localhost:22 your-vps-user@your-vps-ip. This forwards your local SSH port to port 2222 on the VPS. - On the receiving machine: Use
scpto pull files through the tunnel:scp -P 2222 your-local-user@localhost:/path/to/file /local/save/location.
- Pro tip: Keep the reverse tunnel running in the background with
screenorsystemdfor regular transfers.
- On the machine without a public IP: Create a reverse tunnel to your VPS:
MinIO (For Large/Batch File Transfers)
If you're dealing with big files or need to transfer multiple items at once, MinIO is a lightweight, open-source object storage tool you can spin up temporarily.
- Quick start with Docker:
- On one machine:
docker run -p 9000:9000 -v ./minio-data:/data minio/minio server /data. This starts a MinIO server on port 9000. - Expose the port to the internet (use a tool like Ngrok if you don't have public IP access:
ngrok http 9000). - Use the MinIO web UI (at the Ngrok URL) or the
mccommand-line client to upload/download files.
- On one machine:
Honorable Mention: Warp
Another P2P option that's dead simple—just run a single command on both machines. It's focused on fast file transfers and supports cross-platform use.
- Install:
curl -sSL https://warp.dev/install | bash - Use:
- Sender:
warp send /path/to/file - Receiver:
warp receive [generated-code]
- Sender:
All these tools skip the remote desktop bloat of TeamViewer and focus solely on file transfer, which is exactly what you're looking for. Pick the one that fits your setup best!
内容的提问来源于stack exchange,提问作者goe




