Fix KDE Connect "sshfs finished with exit code 1" Error
Fix KDE Connect's "sshfs finished with exit code 1" and "Has No Remote Filesystem Plugin" errors on Linux: sshfs, stale mounts, plugin, pairing, ports.
TroubleshootingUpdated 6 min read
On this page
You open your phone's files from KDE Connect on Linux and get this:
Error when accessing filesystem. sshfs finished with exit code 1Or the device page says Has No Remote Filesystem Plugin. This page covers both, plus a firewall note for Windows. We haven't reproduced these errors ourselves, so the steps are general Linux and Android troubleshooting, and each one says what it checks. Stop as soon as something works.
Why it happens
KDE Connect browses a phone's storage by running sshfs on your computer to mount it as a folder. If that mount fails, you get the exit code 1 error. Users report both messages on Linux desktops, including image-based distros such as Bazzite. The KDE Connect project has not confirmed the split below, so treat it as a reading of the wording.
| Message | Likely cause | Fix |
|---|---|---|
| sshfs finished with exit code 1 | sshfs not installed, or missing on an image-based distro | Fix 1 |
| sshfs finished with exit code 1 | Stale mount from an earlier session | Fix 2 |
| sshfs finished with exit code 1 | Firewall blocking the connection | Fix 5 |
| Has No Remote Filesystem Plugin | Plugin off, or no storage permission on the phone | Fix 3 |
| Has No Remote Filesystem Plugin | Pairing state out of sync after a reinstall | Fix 4 |
Step-by-step fixes
Fix 1: Install sshfs
Symptom: the error appears the first time you open the phone's files, on a fresh install or a newly switched distro.
Open a terminal and run:
bash sshfs --versionThis prints the version if
sshfsis installed. "command not found" means it is missing.Install it with your package manager. On Debian, Ubuntu and Pop!_OS:
bash sudo apt install sshfsOn Fedora the package is
fuse-sshfs(sudo dnf install fuse-sshfs). On Arch it issshfs(sudo pacman -S sshfs).On an image-based distro such as Bazzite, the base system is read-only. A package has to be layered on top with that distro's own tool, followed by a reboot. Check your distro's documentation for the exact command.
To undo, remove the package with the same package manager.
Fix 2: Clear a stale mount
Symptom: it worked once, then every later attempt fails, or the phone dropped off while its folder was open.
If the phone left the network or went to sleep mid-session, the old mount can be left behind and block a new one.
List leftover sshfs mounts:
bash mount | grep sshfsUnmount any entry that points at your phone. The path is the part after "on" in the output:
bash fusermount3 -u /path/from/the/outputOn older systems the command is
fusermountwithout the 3. This only unmounts the folder. It does not delete anything on the phone.Try browsing the phone's files again.
Fix 3: Check the plugin on the phone
Symptom: the message says the device has no remote filesystem plugin, or the file-browsing option never appears.
The phone is not offering the plugin. It may be switched off, may lack storage permission, or Android may have stopped the app in the background. We can't tell which applies in your case.
- Open KDE Connect on the phone and check that the file-access plugin is enabled for this computer. Its label differs between versions, so look for the one about files or the filesystem.
- Grant any storage permission the plugin asks for. On recent Android versions, broad file access is a special permission, so the prompt may send you to a system settings screen instead of a normal dialog.
- Check that Android isn't restricting the app in the background. Look at the battery optimization settings for KDE Connect, open the app once so it is running, then retry from the computer.
- Reopen the device page on the computer. If the plugin still doesn't appear, go to Fix 4.
Fix 4: Unpair and pair again
Symptom: it worked before and then stopped, or you reinstalled or reset the app on one side.
Pairing state is stored on both devices. After a reinstall or reset on one side, the two can disagree.
- Unpair the device on both the computer and the phone.
- Pair again from scratch.
- Test the file mount before changing anything else.
Fix 5: Open the KDE Connect ports
Symptom: the phone shows up unreliably, or never shows as reachable, alongside the filesystem error.
KDE Connect uses TCP and UDP ports 1714 to 1764. If a firewall blocks them, the device can appear, disappear, or fail when a connection is needed.
On a system using ufw:
sudo ufw allow 1714:1764/tcp
sudo ufw allow 1714:1764/udpThese open the range for both protocols. To undo, run sudo ufw delete allow 1714:1764/tcp and the same for udp.
On a system using firewalld, which has a predefined KDE Connect service:
sudo firewall-cmd --permanent --add-service=kdeconnect
sudo firewall-cmd --reloadTo undo, run the same two commands with --remove-service=kdeconnect in place of --add-service=kdeconnect.
Both devices must also be on the same network. Guest Wi-Fi and "client isolation" settings can stop devices from seeing each other.
Packet quits on its own (Pop!_OS)
Some Pop!_OS users report that the Packet Flatpak randomly quits. That is a different problem from the sshfs error, and we don't have a confirmed fix. To get something useful for a bug report, run the app from a terminal and watch for output when it quits:
flatpak list
flatpak run APP_IDThe first command lists installed Flatpaks with their application IDs. Replace APP_ID in the second with the ID you found. It launches the app and prints any error text in the terminal.
Checklist before you try again
sshfs --versionprints a version.mount | grep sshfsshows no leftover entry for the phone.- The file-access plugin is enabled on the phone, with its storage permission granted.
- KDE Connect isn't restricted in Android's background or battery settings.
- Both devices are on the same non-guest network.
- Ports 1714 to 1764 (TCP and UDP) are open in your firewall.
If you only need to move a few files
You don't have to mount the phone to get files across. KDE Connect's file-sending feature sends individual files and does not use the mount. If the mount stays broken, that is a reasonable workaround while you look for a fix.
If nothing works
Report the problem to the KDE Connect project (its site is kdeconnect.kde.org) or your distro's bug tracker. For a Flatpak, use the packager's page. Include:
- The exact error text, including "sshfs finished with exit code 1".
- Your distro and version, and whether KDE Connect is a native package or a Flatpak.
- The output of
sshfs --version. - The phone's Android version and the KDE Connect app version.
- Whether
mount | grep sshfsshowed anything. - Anything printed when you start KDE Connect from a terminal.
You can paste something like this and fill in the blanks:
KDE Connect on Linux shows "Error when accessing filesystem. sshfs finished with exit code 1" when I open my phone's files.
Distro/version:
KDE Connect: native package or Flatpak, version:
Android version / KDE Connect app version:
sshfs --version output:
Already tried: installed sshfs, unmounted stale mounts, re-paired, opened ports 1714-1764.
Terminal output when starting KDE Connect:Common questions
Does "Has No Remote Filesystem Plugin" mean sshfs is missing?
Not necessarily. Our reading is that it concerns the device not offering the plugin, so check the phone side (Fix 3) and pairing (Fix 4) first.
Will unmounting a stale mount delete files on my phone?
No. fusermount3 -u only detaches the mount point on your computer. The files stay on the phone.
Is it safe to open ports 1714 to 1764?
The rules above open the range to everything that can reach your computer, so on a public or untrusted network you may prefer to keep the firewall as it is. On a home network you trust, opening the range is the usual setup.