Accessing CS File Servers Remotely
Many of our users want to access files on computer science systems from home or from other computer systems that they control. There are two reasonable technologies for this:
Sshfs lets you mount any directory to which you have access, from any system that you can access via ssh. Performance is quite good, often better than NFS. The main disadvantage is that you need to install the sshfs file system. On Linux it's a standard package. It is also easy to install it for Mac and PC.
There's one operation that is surprisingly slow: ls -l in a very large directory. As a worst-case example: in a directory with 4000 files, mounted over a DSL connection, ls -l took 12 minutes. Normal ls is reasonable, as are other file operations.
WebDAV is supported by Linux, Windows, Mac, IOS and Android, so you don't have to install any software. But it is substantially slower than sshfs, particularly for operatiions involved a lot of files. One big advantage of WebDAV is that it is supported on the iPhone, while we're not aware of any way to use sshfs there.
Documentation isn't ready for Windows. For Linux and the Mac it's very similar.
Linux: make sure your system has the sshfs package installed. This is generally avaiable from the standard repositories. First login to the system whose files you are going to want to access. Use the "pwd' command to find the name of the directory. E.g. my home directory in an ilab system is /ilab/users/hedrick.
To mount this directory from my home machine
- find or create a "mount point." This is a directory where the remote file system is going to be available. If it's your own computer, it's common to use a directory in the root filesystem sucha as /mnt, but you can also use "mkdir" to create a directory in your home directory. You must have write access to the directory. For this example I do "mkdir remote" to create a new directory
- use sshfs to mount the remote file system. E.g. to mount my ilabl directory on remote I would use "sshfs email@example.com:/ilab/users/hedrick remote". Any of the ilab sysems could be used in place of composite. It may prompt for my password.
- At this point, I should see all my ilab files in the directory "remote"
- To unmount, use "fusermount -u remote" (on the Mac "umount remote")
On a macintosh you will need to install two packages, "FUSE" and sshfs. See the osx sshfs page for details. Note that you don't need Macfusion, just FUSE and sshfs. The downloads pages provide severla options. I recommend downloading the DMG files, as those give you a normal Mac installer.
To use sshfs on the Mac, the instructions are the same as for Linux, except that to unmount, just use the umount command, e.g. "umount remote"
User and groups may show up incorrectly, unless both name and number match on the two ends. This shouldn't normallly be a problem, but if you need to change a file to have a specific group, that group has to exist on both ends with the same name and number. Alternatively, you can use the idmap and gidfile options to map groups on the other end to groups on your system. In most cases this won't be a problem.
by Hanz Makmur - Jan 11, 2011
Unlike CIFS/SMB - a propriety unsecured protocol that are likely blocked by firewall - WebDAV uses standard Secure HTTPS protocol and is not likely blocked. This makes WebDAV a much better choice for sharing files.
With a WebDAV client you can access and manipulate your data on CS resources from any MacOS X, Windows OS, Linux OS and Mobile devices, negating the need to use proprietary commercial service like DropBox, BoxNet and etc. which have limited quota and uncertain privacy policies.
Below you will find instructions how to connect to the WebDAV server from WebDAV clients on different operating systems and mobile devices. Click on the link below for instruction on connecting to WebDAV server on your specific OS or device.
Accessing from Windows OS.
You can connect to WebDav via Add A Network Location or Map network Drive option.
If you would like WebDAV disk Mapped as a drive,follow instruction below:
If you have older OS (except for Windows98) or prefer to use special WebDAV client, you can use a program called WebDrive available free for all Rutgers users from software.rutgers.edu. Download and Install webdrive and follow the steps below to connect and mount the WebDAV server.
Accessing from MacOS X.
To access the WebDAV server,
- Open your CyberDuck program by double clicking on its icon.
- Once CyberDuck is running, click on the Open Connection icon.
- Select: WebDAV(HTTP/SSL) and enter
Server: webdav.cs.rutgers.edu Port: 443 Username:your_net_id Password:enter_you_RCI_or_Eden_password
- Click the Connect button.
Once connected you will be presented with list of files available on different servers in one location. For more info on how to use CyberDuck, please read the CyberDuck help page.
Accessing from LinuxOS.
Accessing from iOS Mobile Devices (iPhone, iPod Touch, iPad)
Accessing from Android Mobile Devices
Accessing from BlackBerry OS.
Accessing from a Web Browser
If you have problems or questions, please email firstname.lastname@example.org