Discover ways to simply mount distant directories with the assistance of a safer SSH device. Comply with together with Jack Wallen in our step-by-step tutorial.
Do you will have distant directories it’s good to mount in your native desktop so you possibly can 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 by way of the much less safe Samba, Safe Shell has you coated.
Because of an app known as Safe Shell File System (a.ok.a. sshfs), you possibly can simply mount distant directories, with the assistance of the safer SSH device. Let me present you the way it’s carried out. I’m going to show on an Ubuntu-based Linux distribution, so should you use a unique OS, you’ll want to switch the set up command.
- To put in sshfs, open a terminal window and challenge 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.
- Let’s say you need to mount your private home listing on a machine at IP handle 192.168.1.60 and mount it on a neighborhood listing known as MOUNT. To try this, the command can be one thing like this:
sshfs USER@192.168.1.60:/residence/USER /residence/USER/MOUNT
the place USER is your username. You’ll be prompted for the distant person’s password.
- Upon profitable authentication, the distant listing will probably be mounted within the MOUNT listing. You’ll be able to confirm this by issuing the command:
ls MOUNT
from throughout the father or mother listing housing MOUNT, and also you’ll see a list of the distant listing contents. Now you possibly can open these recordsdata as if they have been in your native machine.
And that’s how simple 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 way 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 newest tech recommendation for enterprise professionals from Jack Wallen.