Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Mounting remote directory using sshfs

Posted on 13/09/202003/09/2026 Christian By Christian No Comments on Mounting remote directory using sshfs
  1. Home
  2. Linux
  3. Mounting remote directory using sshfs
SSHFS

SSHF provides a secure way to access remote machines on the fly via the Secure Shell File Transfer Protocol (SFTP). It stands for Secure Shell File System and it is a software developed for use on Linux distributions. Please see how to perform In-place upgrade of Veeam Recovery Orchestrator to version 13.1, How to build and deploy a Docker Image with Kubernetes Cluster, and Veeam Oracle RMAN Troubleshooting: Connection Timeout, Broken Pipe and a Stuck RMANPluginManager.

HOW TO USE SSHFS

1: Download and install the fuse-sshfs package

Furthermore, The SSHFS package is not included in any of the repositories on the Linux Operating System. You will have to download the rpm package for fuse-sshfs to your machine or you can use the yum command if you have access to an online repository.

After downloading the rpm package, go to the terminal of the local machine, migrate to the directory that has the downloaded package and then use the rpm command to install the rpm package for the sshfs

Remote directory mounting
For the purpose of this demonstration I have created a directory “test” in the remote machine
File system
In that directory is a text file “testfile” that says “This is a test file to demonstrate SSHFS

2: Create a mount point on the local machine

On the machine where the SSHFS is installed, log in as root and create a mount point. I am going to call mine server22 and an ll command on that directory should show it is empty.

SSH-based file access

3: Mount the remote directory on the local machine

Now mount the remote directory with the syntax

sshfs remote-machine-name@ip-address:directory-path /mount-point
A terminal window displaying a command to connect to a remote server using SSHFS, showing the request for a password.

It should ask you for the password of the remote machine when you hit the enter button. Input the required password.

Now migrate to the mount point/directory, and do the “ll” command; if all is well, you should see the files in the mounted directory of the remote machine.

Terminal output displaying the result of the command 'll /server22', showing file details including permissions, owner, size, date, and file name 'testfile'.
Terminal displaying a command to read a text file on a server, showing the message 'This is a test file to demonstrate SSHFS'.

Most servers already support this protocol it is very easy to set up. On the client-side mounting, the file-system is as easy. We don’t have to do much configuration on the server-side. All you need is the remote server should have a working SSH server.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Linux Tags:SSH

Post navigation

Previous Post: How to export and import Windows Start layout
Next Post: Error 740: Elevated permissions are required to run DISM

Related Posts

  • How to Set Up and Configure a Squid Proxy Server Linux
  • FEATURE IMAGE IMAGE
    Install and configure Prometheus for Monitoring on a Linux Linux
  • FEAUREanydesk
    How to install AnyDesk on a Linux Machine Linux
  • featureunions
    How to Install Unison on Linux System Linux
  • Screenshot 2020 05 14 at 17.47.09
    SSH access on Ubuntu server: Easy Guide Linux
  • images copy
    How to disable automatic screen lock in Ubuntu Linux Linux

More Related Articles

systemd services How to use Systemd Timers on Linux Linux
Screenshot 2020 05 14 at 17.46.59 Linux System Update: Upgrade vs. Dist-upgrade Differences Linux
Gfeature How to install Googler on a Linux System Linux
How to create edit save exit file Mastering Vim in Linux: How to Create, Edit, Save, and Quit Files Linux
Locate Find and Grep Required 1 A Brief Introduction to Linux and How to Create Disk Partition in Ubuntu Linux Linux
Locate Find and Grep Required 1 Locate, Find and Grep: Search for files and patterns in Linux or Unix-like OS Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • discorddd
    Discord Installation Guide for Linux System Linux
  • image 2
    How to Fix Microsoft Edge Not Responding Windows
  • Razer
    Administrative rights gained through Razer devices on Windows 10 Security | Vulnerability Scans and Assessment
  • Windows 11 Taskmanager
    Create Task Manager Shortcuts: How to add access, pin the Task Manager on Windows 11 Windows
  • regreg
    How to configure screen saver timeout in Windows Windows
  • NFS Storage and Present it to XCP ng
    Create an NFS Storage on Synology NAS and Present it to XCP-ng Virtualization
  • unnamed
    Add or delete users and set permissions in Azure AD AWS/Azure/OpenShift
  • Fix Failed to Connect a Hyper V Standalone to Veeam Backup
    Invalid Credentials “Fix Failed to Connect a Hyper-V Standalone to Veeam Backup” Backup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,746 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.