16.4 C
New York
Wednesday, October 15, 2025

Tips on how to Mount Distant Directories with SSH (+Video Tutorial)


Discover ways to simply mount distant directories with the assistance of a safer SSH software. Observe together with Jack Wallen in our step-by-step tutorial.

Do you may have distant directories it’s worthwhile to mount in your native desktop so you’ll be able to work on code, configurations, documentation or simply about any type of file? If these distant recordsdata are on a server and also you don’t need to share them through the much less safe Samba, Safe Shell has you coated.

Due to an app referred to as Safe Shell File System (a.okay.a. sshfs), you’ll be able to simply mount distant directories, with the assistance of the safer SSH software. Let me present you the way it’s completed. I’m going to reveal on an Ubuntu-based Linux distribution, so when you use a distinct OS, you’ll want to change the set up command.

  1. To put in sshfs, open a terminal window and concern the command:
    sudo apt-get set up sshfs -y

    As soon as the applying is put in, you’re prepared to make use of it.

  2. Let’s say you need to mount your property listing on a machine at IP tackle 192.168.1.60 and mount it on a neighborhood listing referred to as MOUNT. To do this, the command could be one thing like this:
    sshfs USER@192.168.1.60:/house/USER /house/USER/MOUNT

    the place USER is your username. You’ll be prompted for the distant consumer’s password.

  3. Upon profitable authentication, the distant listing shall be mounted within the MOUNT listing. You’ll be able to confirm this by issuing the command:
    ls MOUNT

    from inside the dad or mum listing housing MOUNT, and also you’ll see an inventory of the distant listing contents. Now you’ll be able to open these recordsdata as if they have been in your native machine.

And that’s how straightforward it’s to mount a distant listing to your native machine with the assistance of sshfs. This technique is safer than utilizing a Samba share and is much simpler than NFS. Give sshfs a attempt to see if it makes your workflow simpler.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the most recent tech recommendation for enterprise execs from Jack Wallen.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles