SSHFS
From Wikipedia, the free encyclopedia
| This article needs additional citations for verification. Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (June 2009) |
Mounting an SSHFS network, the sign-on displays the desktop icon illustrated |
|
| Developer(s) | Miklos Szeredi |
|---|---|
| Stable release | 2.2 / 20 October 2008 |
| Operating system | UNIX-like |
| Development status | Active |
| Type | Remote access |
| Website | http://fuse.sourceforge.net/sshfs.html |
SSHFS (SSH Filesystem or Secure SHell Filesystem) is a file system client that may be used on operating systems for which an implementation of FUSE is available.[1]
The client allows access to a remote file system where files and directories are available via SFTP.
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.[1]
Contents |
[edit] Features
SFTP provides secure file transfer and a secure remote file system. Whilst SFTP clients may transfer files and directories, the related file system may not be mounted locally using SFTP alone. Using SSHFS, a locally-mounted file system may be treated in the same way as other volumes (such as CDs, DVDs, USB flash drives and shared disks).
If the remote environment matches the requirements of the local application, then the end user may work with remote files and directories as if they are on a local volume. If the remote environment is a less than perfect match — if the server can not respond appropriately — then applications may respond in ways that are unpredictable or misleading.
Using ls with sshfs will sometimes not list the owner of a file correctly, although it is possible to map them manually.[2][3]
For greater security the system can be configured by the service administrator as a jailed account, allowing the client to only see part of the file system.
For distributed remote file systems with multiple users, protocols such as Apple Filing Protocol, Network File System and Server Message Block are more often used. SSHFS is an alternative to those protocols only in situations where users are confident that files and directories will not be targeted for writing by another user, at the same time.
[edit] Approaches to SSHFS
| This section does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (May 2009) |
| Darwin | Mac OS X: any one of | Windows | Linux + 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)
To log into remoteuser on the host remotehost and to mount the directory /path/to/remote_dir on the directory local_mountpoint, the following command can be used:[1][2][4]
sshfs remoteuser@remotehost:/path/to/remote_dir local_mountpoint
The default remote directory is the remote user's home directory. The local mount point must be an empty directory that the remote files will be displayed in.[1][4]
To unmount use the command
fusermount -u local_mountpoint
or simply
umount local_mountpoint
[edit] References
- ^ a b c d Szeredi, Miklos (undated). "SSH Filesystem". http://fuse.sourceforge.net/sshfs.html. Retrieved on 2009-06-05.
- ^ a b Canonical Ltd (May 2009). "SSHFS - Community Ubuntu Documentation". https://help.ubuntu.com/community/SSHFS#Usage. Retrieved on 2009-06-05.
- ^ Szeredi, Miklos (November 2008). "SSHFS FAQ: What options does sshfs support?". http://apps.sourceforge.net/mediawiki/fuse/index.php?title=SshfsFaq#What_options_does_sshfs_support.3F. Retrieved on 2009-06-05.
- ^ a b Szeredi, Miklos (November 2008). "SSHFS FAQ: How do I specfy the remote mount point (since the example defaults to the home directory)". http://apps.sourceforge.net/mediawiki/fuse/index.php?title=SshfsFaq#How_do_I_specfy_the_remote_mount_point_.28since_the_example_defaults_to_the_home_directory.29. Retrieved on 2009-06-05.
[edit] See also
- Gvfs
- SSH file transfer protocol (SFTP)
- Secure copy (SCP)
- FileZilla, a Free Software utility for multiple platforms.
- Files transferred over shell protocol (FISH)
[edit] External links
- SSH Filesystem - official webpage.
- SSH File Transfer Protocol
- URI Scheme for SSH and SFTP
- SshfsGUI - graphical user interface for Linux.
- Google Releases FUSE for Mac OS X: MacFUSE
- Macfusion: a GUI for MacFUSE
- Dokan SSHFS for Windows
- NTFS-3G: Extended Attributes (highlights)

