User Tools

Site Tools



SSHFS (Secure SHell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used.

First of all, you must install the two components: fuse and sshfs. FUSE SSHFS

Both of them are installed with (after extracting from archives):

make && make install

After installing, load the fuse module:

#modprobe fuse

and then you can connect using:

sshfs user@host:/mount/point/on/host /mount/point/local

e.g. We need to work on /etc on host from our machine. Our local mount point is /mnt/etc. We'll use:

sshfs bobby@ /mnt/etc

After that, the sshfs will ask for bobby password on Success!

security/sshfs.txt · Last modified: 2013/03/16 17:41 (external edit)