Mounting Remote Directory via sshfs
Mounting Remote Directory via sshfs
sshfs (SSH File System) is a powerful tool that allows you to mount and interact with remote directories over an SSH connection as if they were part of your local file system. It leverages the security and encryption of SSH, making it an ideal choice for securely accessing and managing files on remote servers without the need for complex configurations.
Installation
1
2
host$ sudo apt update
host$ sudo apt install sshfs
Mounting
Make a directory to hold the BBB’s files
1
host$ mkdir bone_dir
after that, mount them. The 192.168.7.2 is the default address of bone when connect with your host via usb cable.
1
2
host$ sshfs debian@192.168.7.2:. bone_dir
host$ ls bone_dir
Now, everything is okay.
Unmounting
when u’re done. Run the below command to unmount
1
host$ sudo umount bone_dir
This post is licensed under CC BY 4.0 by the author.