Mount Remote Directories with SSHFS on Ubuntu 24.04
SSHFS on Ubuntu 24.04 lets you open folders from a remote computer and work with them as if they live right on your own desktop. SSHFS (Secure Shell File System) uses an encrypted connection to link your PC to another server over the internet.
You can browse, open, and edit files on that remote machine using your usual programs like LibreOffice or text editors, entirely skipping the step of downloading and uploading them by hand. Every file transfer runs through secure SSH encryption to keep your data safe while you work.
Install SSHFS via `sudo apt install sshfs`, create a mount point with `mkdir ~/sshmnt`, and then mount the remote directory using `sshfs user@remote_host:/remote/path ~/sshmnt`. Unmount with `fusermount -u ~/sshmnt`.
Install SSHFS on the client
Installing SSHFS on Ubuntu 24.04 lets you securely access and mount remote directories on your local computer over an SSH connection. You can add the tool using the terminal, set up a local folder to act as the doorway to the remote files, and connect to your server with a single command.
Install SSHFS by running the command below.
sudo apt install sshfs
After installation, create a mount point for the remote directory on the client computer with the command below.
mkdir ~/sshmnt
Mount the remote directory using the SSHFS command structured like this:
sshfs svr1.example.com:/home/richard/october ~/sshmnt
- svr1.example.com => remote server with SSH running
- /home/richard/october => remote directory you want to mount
- ~/sshmnt => local mount point created on the client
Verify the filesystem by running the command below after mounting the remote directory.
df -hT
An output matching the one below confirms the remote directory is mounted.
ilesystem Type Size Used Avail Use% Mounted on
tmpfs tmpfs 336M 2.0M 334M 1% /run
/dev/sda2 ext4 49G 9.2G 38G 20% /
tmpfs tmpfs 1.7G 0 1.7G 0% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
svr1.example.com:/home/richard/october fuse.sshfs 40G 9.7G 28G 27% /home/richard/sshmnt
The mount point also appears inside the File Manager.

Unmount
Unmounting an SSHFS directory safely disconnects the remote files from your Ubuntu 24.04 system once you finish working. You must close any open files and make sure your terminal is outside the mounted folder before running the fusermount command to safely end the session.
fusermount -u ~/sshmnt
Exiting the mount point remains necessary for unmounting the remote directory.
That completes the setup process.
Conclusion:
SSHFS provides a reliable and secure method to access remote directories natively on local Ubuntu systems.
- Easy Setup: SSHFS can be installed quickly with a simple command and minimal configuration.
- Direct Access: Once mounted, you can interact with remote files as if they were local, enhancing ease of use.
- Secure Connection: SSHFS relies on SSH to ensure your data transfer remains safe and encrypted.
- Flexible Usage: It's suitable for various applications, whether for document editing, data processing, or file management.
- Simple Unmounting: You can easily disconnect from the remote directory when done, maintaining cleanliness in your system.
Workflows involving remote servers benefit from SSHFS, making file access efficient and secure.
Is SSHFS deprecated?
A heads-up: SSHFS is no longer actively maintained, as its main development repository has been archived. SSHFS requires Linux. Libfuse also requires Linux.
Is SSHFS any good?
SSHFS helps when working with remote filesystems, particularly when access is restricted to SSH. Furthermore, special software installation on local computers or remote servers remains unnecessary. SSH must be active on the system.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!