How do I mount a folder from a Remote Linux machine on Fedora Silverblue?

A year or so back, I discovered sshfs. It’s an awesome tool that made it possible for me to play videos from a remote machine, copy files, etc. over SSH. Unfortunately, sshfs does not come on the Silverblue image, so I would need to layer it on.

I could install it in a Toolbox, but I’d only be able to access the mount from inside the container. I need to access it from my host machine.

I’m trying to avoid layering any packages onto my system. I’m totally open to trying new software or ways of doing things.

Is there another remote mounting solution I could use? Maybe one that’s available as a Flatpak? I don’t need a graphical program, but hey, it would be cool if there was one out there.

nautilus sftp://user@host

Ctrl+D

4 Likes

What I use is systemd.automount. You just need to add an extra line in fstab and perform the code sudo mount -a to make the system start using it:

  1. Create the mount point in your system where you want to have the external folder mounted when it doesn’t exist yet
  2. Add the following line (with your details of course) in /etc/fstab
(ip-address of the remote system):/nfs/(disc or partition)(space)(mountpoint)(space)nfs(space)x-systemd.automount(space)0(space)0

Save the file and exit your text-editor of choice.
3) Type

sudo mount -a

in a terminal
4) In your file-manager you will now see the entry for the remote folder. Have fun.

2 Likes

Thanks, this works great! It’s simple and readily available.

Thank you also @jandemus for posting your solution! That’s a closer replacement to SSHFS and would work better if I wanted to use another file manager, like lf—which I often do!

1 Like