SSHFS
From Wikipedia, the free encyclopedia
This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources (ideally, using inline citations). Unsourced material may be challenged and removed. (June 2008) |
SSHFS (Secure SHell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) 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.
The current implementation of SSHFS using FUSE is a rewrite of an earlier version. The rewrite was done by Miklos Szeredi, who also wrote FUSE.
For Mac OS X, (MacFUSE), an SSHFS binary, is available. MacFusion offers a GUI to MacFUSE and a plug-in architecture; plug-ins include FTP and the SSHFS binary from the MacFUSE project.
The administrator can set up a jailed account on the server in order to provide greater security (see external links), then the client will see only a limited part of the filesystem.
Contents |
[edit] Usage example
[edit] Requirements
- Remote host must run the ssh daemon
- Successful authentication with the remote host
Darwin | Mac OS X: any one of | Windows | other systems |
---|---|---|---|
sshfs for Darwin (Mac OS X) | MacFUSE + MacFusion (GUI, supported) | Dokan library + Dokan SSHFS | FUSE kernel module + SSHFS tools installed on local host |
MacFUSE + sshfs-static binary | |||
MacFUSE + sshfs.app (GUI, unsupported) | |||
Secure Remote Disk | |||
sshfs for Darwin (Mac OS X) |
[edit] Command line usage
(not all commands are valid on all systems)
If you have the login remoteuser on the host remotehost and want to mount the directory /path/to/remote_dir on the directory local_mountpoint, the following command can be used:
sshfs remoteuser@remotehost:/path/to/remote_dir local_mountpoint
To unmount use the command
fusermount -u local_mountpoint
or simply
umount local_mountpoint
[edit] See also
- SSH file transfer protocol (SFTP)
- Secure copy (SCP)
- Secure Shell (SSH)
- NFS
- FileZilla, a Free Software utility for multiple platforms.
- SftpDrive, a proprietary utility for Microsoft Windows
- ExpanDrive, a proprietary utility for Mac OS X
- Files transferred over shell protocol (FISH)
[edit] External links
- SSH Filesystem - official webpage.
- SshfsGUI - graphical user interface for Linux.
- Google Releases FUSE for Mac OS X: MacFUSE
- MacFusion: a GUI for MacFUSE
- Dokan SSHFS for Windows