LogoLogo
DownloadBlog
  • Overview
  • Getting started
    • Meshnet explained
    • How to start using Meshnet
      • Using Meshnet on Windows
      • Using Meshnet on Android
      • Using Meshnet on iPhone/iPad
      • Using Meshnet on macOS
      • Using Meshnet on Linux
      • Using Meshnet on Android TV
    • How to use Meshnet securely
  • Features
    • Linking devices in Meshnet
      • Linking external Meshnet devices on Windows
      • Linking external Meshnet devices on Android
      • Linking external Meshnet devices on iPhone/iPad
      • Linking external Meshnet devices on macOS
      • Linking external Meshnet devices on Linux
      • Linking external Meshnet devices on Android TV
    • Explaining permissions
      • Remote access permissions
      • File sharing permissions
      • Traffic routing permissions
      • Local network permissions
    • Renaming devices in Meshnet
      • Renaming devices on Windows
      • Renaming devices on Android
      • Renaming devices on iPhone/iPad
      • Renaming devices on macOS
      • Renaming devices on Linux
    • Sharing files in Meshnet
      • Sharing files on Windows
      • Sharing files on Android
      • Sharing files on iPhone/iPad
      • Sharing files on macOS
      • Sharing files on Linux
      • Sharing files on Android TV
    • Routing traffic in Meshnet
      • Routing traffic from Windows
      • Routing traffic from Android
      • Routing traffic from iPhone/iPad
      • Routing traffic from macOS
      • Routing traffic from Linux
      • Routing traffic from Android TV
  • How-to guides
    • Gaming
      • How to set up a private Minecraft server with Meshnet
      • How to set up a private Stardew Valley server with Meshnet
      • How to play Quake 3 Arena over Meshnet
      • How to set up a private Team Fortress 2 server with Meshnet
      • How to set up a remote game-streaming server for Moonlight
      • How to set up a Palworld dedicated server
      • How to play Fallout: New Vegas multiplayer over Meshnet
      • How to set up a private Factorio server with Meshnet
    • Remote files and media access
      • How to set up and access shared folders
        • Configure and access shared folders on Windows
        • Configure and access shared folders on macOS
        • Configure and access shared folders on Linux
        • Access shared folders from Android
        • Access shared folders from iPhone/iPad
        • Access shared folders from Android TV
      • How to watch videos over Meshnet using Kodi
      • How to configure and access a Jellyfin media server remotely
      • How to set up a Plex media server and access it remotely
      • How to set up a remote NAS using OpenMediaVault and Meshnet
      • How to set up a remote picture library with LibrePhotos and Meshnet
      • How to use Syncthing for remote continuous file synchronization
      • How to set up a remote Airsonic music server
      • How to set up HTTP File Server for remote file access
      • How to set up a remote audiobook server
      • How to host a remote Kavita e-book server
      • How to set up and remotely access Immich using Meshnet
    • Remote device access
      • How to log in to your PC remotely over Meshnet
        • Connect to a Windows device
        • Connect to a macOS device
        • Connect to a Linux device
      • How to access remote systems over Meshnet using SSH
      • How to access your IP camera over Meshnet
      • How to use Home Assistant remotely over Meshnet
      • How to make secure macOS Time Machine backups from anywhere
      • How to use Ansible over Meshnet
      • How to access files in your NAS from anywhere without compromising its security
      • How to set up a phone as a security camera with remote access
      • How to assign custom host names to Meshnet services using Nginx proxy manager
      • How to use Proxmox VE remotely over Meshnet
      • How to set up a remotely controlled 3D printer
      • How to set up and remotely access a CasaOS server
    • Joint projects
      • How to set up an NGINX web server and remotely access it over Meshnet
      • How to use Nextcloud file syncing with Meshnet
      • How to set up pair programming using tmux
      • How to set up a Visual Studio Code server for remote development over Meshnet
      • How to host a Focalboard server for remote project management
      • How to use Meshnet for multi-screen Node.js development
      • How to use the Multi-user editing plugin in Unreal Engine over Meshnet
      • How to set up a private Mumble voice chat server
      • How to host a private Rocket.Chat server
    • Own VPN server setup
      • How to set up a VPN server through self-hosting or with DigitalOcean
      • How to create a VPN server with Microsoft Azure
      • How to create a VPN server with AWS
      • How to create a VPN server with Google Cloud
      • How to create a VPN server with Linode
      • How to create a VPN server with Hetzner
    • Network protection
      • How to set up your network protection with Pi-hole
      • How to set up your own DNS server
      • How to protect your network with AdGuard Home
      • How to use the self-hosted Whoogle search engine remotely
      • How to set up a VPN router using Meshnet
  • Troubleshooting
    • Common issues on Windows
    • Common issues on Android
    • Common issues on iPhone/iPad
    • Common issues on macOS
    • Common issues on Linux
Powered by GitBook

© 2025 Nord Security. All Rights Reserved.

On this page
  • Before you begin
  • Send files
  • Viewing outgoing transfer history
  • Receive shared files
  • Accepting transfers automatically
  • Setting the download location
  • Run a transfer process in the background
  • Manage transfers
  • Display a help message
  • See also

Was this helpful?

  1. Features
  2. Sharing files in Meshnet

Sharing files on Linux

Learn how to send and receive files securely and easily over Meshnet on Linux.

PreviousSharing files on macOSNextSharing files on Android TV

Last updated 10 days ago

Was this helpful?

This guide provides the information you need to start sharing files over Meshnet on Linux.

Before you begin

Make sure that the device you want to share files with meets the following criteria:

  • The NordVPN app is running, and the Meshnet feature is enabled in the app.

  • The device is connected to your Meshnet.

Note

You can add devices to your Meshnet in two ways, depending on device ownership:

  • To add your own device, just enable Meshnet on that device. See for details.

  • To add an external device, send an invitation via the NordVPN app with the owner's email. Ensure the invitation is accepted. See .

Send files

You can initiate a file transfer from the app by completing these steps:

  1. Open Terminal.

  2. Enter the nordvpn meshnet peer list command and copy the Nord name or Meshnet IP address of the device you want to share your files with.

  3. Type the nordvpn fileshare send command, followed by your peer device’s Nord name or Meshnet IP address and the path to the file you want to transfer, as shown:

    nordvpn fileshare send <peer> </path/to/your/file>

    You can use the absolute and the relative for the files you want to send. Example

  4. To add additional files to the transfer, append the path of the new file to the already entered command. You can drag files from the file explorer to the terminal to paste their path. Example

Tip

To find your peer's Nord name faster, start typing the name and press Tab. The system will auto-complete the name with a match from online devices.

Note

The file transfer begins when the recipient accepts your download request on their device. For details, consult the appropriate guides:

Viewing outgoing transfer history

To display the history of transfers sent from your device, along with their ID, size, status, and other relevant details, use the following command:

nordvpn fileshare list --outgoing

The transfers in the list are arranged in chronological order, with the oldest transfers appearing first.

Receive shared files

Note

Make sure that Meshnet is enabled on your device to receive the file transfer request from the sender.

You can use the NordVPN notifications or the command line to receive files shared from another linked device.

  1. Open Terminal.

  2. Ensure that you have enabled the NordVPN notifications by running this command:

    nordvpn set notify on

  3. Have your Meshnet peer send the files.

  4. Upon receiving the file transfer notification, select Accept within it to start the download of the transferred files.

  1. Have your Meshnet peer send the files.

  2. Open Terminal.

  3. Enter the nordvpn fileshare list command followed by --incoming to display incoming requests, as shown:

    nordvpn fileshare list --incoming

  4. Copy the ID of the file transfer request you want to accept.

  5. Type nordvpn fileshare accept followed by the file transfer ID from the previous step, as shown:​

    nordvpn fileshare accept <id>

    Example

Tip

The ID can be auto-completed. Start typing the initial characters of the ID and press Tab for quick suggestions.

Once a download is complete, if you have NordVPN notifications enabled, you will receive a notification about each individual downloaded file.

You can find the files shared with you by checking the system's Downloads folder.

If you want to download only specific files from the transfer, provide the names of the files you choose to accept.

nordvpn fileshare accept <id> <file1> <file2>...​

Example

Tip

To display the list of files in a particular transfer directory, enter the nordvpn fileshare list command followed by the transfer ID:

nordvpn fileshare list <id>

Accepting transfers automatically

You can enable automatic transfer acceptance from a specific peer. To do this, run the following command, replacing <device> with the peer’s Nord name or Meshnet IP:

nordvpn meshnet peer auto-accept enable <device>

Setting the download location

By default, the downloaded files are saved in the $HOME/Downloadsdirectory. However, if you want to specify a different location on your system, use the --path command option followed by the desired location and the transfer ID:

nordvpn fileshare accept --path </path/to/directory> <id>

Run a transfer process in the background

If you want to run a transfer process in the background, use the --background option.

  • When sending a file transfer, enter:

    nordvpn fileshare send --background <peer> </path/to/your/file>

    Example

  • When accepting a file transfer, type:

    nordvpn fileshare accept --background <id>

Manage transfers

Canceling file transfers

If you need to cancel a transfer while it is still in progress, there are two ways to do it:

  • Use the Ctrl + C keyboard shortcut to terminate a file transfer when it's running in the foreground and you are using the same terminal session.

  • Use the cancel command to stop transfers that are being performed in the background. This command allows you to cancel the whole transfer or a specific file within the transfer.

    • To cancel a file transfer, enter the following command, replacing <id> with the ID of the transfer you want to cancel.

      nordvpn fileshare cancel <id>

      Example

    • To cancel a specific file in a transfer, provide the file's name following the transfer ID, as shown:

      nordvpn fileshare cancel <id> <file>
Clearing your transfer history

You can remove entries from your file sharing history by using the clear command.

  • To completely remove all of your transfer history, run the following command:

    nordvpn fileshare clear all

  • nordvpn fileshare clear <time_interval>

    Example This command will remove history entries that are older than one day and 12 hours.

    nordvpn fileshare clear 1d 12h

Display a help message

You can access command information using the --help option. For example, to view helpful information about the fileshare command, type:

nordvpn fileshare --help

See also

You can only send files to the devices that have the file sharing permission enabled for your device. For more information, see .

To learn more, see the section of the "File sharing permissions" page.

To clear transfer records older than a specific date, use the command below with the selected time interval in :

File sharing permissions
SystemD time span syntax
Sharing files on Windows
Sharing files on Android
Sharing files on iPhone/iPad
Sharing files on macOS
Sharing files on Android TV
Receive shared files on Linux
Adding external Meshnet devices on Linux
NordVPN
file paths
Receive shared files on Windows
Receive shared files on Android
Receive shared files on macOS
Receive shared files on iPhone/iPad
Using Meshnet on Linux
Receive shared files on Android TV
Nord name of a peer device highlighted in the terminal.
The "Waiting for the peer to accept your transfer" message is displayed in the terminal
Two file paths are displayed next to the 'nordvpn fileshare send' command in the terminal
Clicking 'Accept' in the NordVPN incoming file transfer notification.
Clicking 'Accept' in the NordVPN incoming file transfer notification.
Meshnet file transfer ID highlighted in the terminal
CLI showing the "nordvpn fileshare accept" command followed by the file transfer ID
NordVPN notification informing about a downloaded file.
NordVPN notification informing about a downloaded file.
CLI showing the "nordvpn fileshare accept <id>" command with two file names highlighted
Terminal showing the 'nordvpn fileshare send --background' command.
A message confirming the successful cancellation of a file transfer
Changing permissions