Jump to content

SSHFS: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
SmackBot (talk | contribs)
m Date the maintenance tags or general fixes
MacFUSE is not released by Google themselves. It's hosted on Google Code.
Line 4: Line 4:
The current implementation of SSHFS using FUSE is a [[Rewrite (programming)|rewrite]] of an earlier version. The rewrite was done by [[Miklos Szeredi]], who also wrote FUSE.
The current implementation of SSHFS using FUSE is a [[Rewrite (programming)|rewrite]] of an earlier version. The rewrite was done by [[Miklos Szeredi]], who also wrote FUSE.


For Mac OS X, Google has also released ([[MacFUSE]]) an SSHFS binary. MacFusion offers a GUI to MacFUSE and a plug-in architecture; plug-ins include FTP and the SSHFS binary from the MacFUSE project.
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.
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.

Revision as of 16:18, 19 September 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.

Usage example

Requirements

  • Remote host must run the ssh daemon
  • Successful authentication with the remote host
Darwin Mac OS X: any one of other systems
sshfs for Darwin (Mac OS X) MacFUSE + MacFusion (GUI, supported) 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)

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

See also