This page is about accessing files from home systems. If you have a Linux system within the department, see Sharing Files for how to access files on our servers, and how to share files between systems. (We say Linux because that’s where our experience is. In principal, Macs have the same facilities available, and even Windows can participate to some extent.)
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 ways to do this:
- A GUI file copy program. This lets you look at files in your CS home directory, and copy them to and from your own computer. The GUI tools generally look very similar to the Mac Finder or the Windows File Explorer, except that they’re looking at files at Rutgers rather than files on your home computer. Use this approach if you want to make copies of your files, work on them at home, and then copy them back to Rutgers when you’re finished.
- A mount program. This lets you mount your CS home directory on your home machine. In this case your home directory at Rutgers appears to be part of the file system on your home computer. It will show up in the Finder, File Exporer, and in File dialogs in programs. Use this approach if you want to work on file at Rutgers directly, without making copies.
The mount program that we recommend, Webdrive, can also be used to access files on Google Drive (including scarletmail), Dropbox, box.com, and other cloud services.
NOTE: This section describes approaches for normal user home computers. If you’re running a server that has multiple CS users on it, it may make sense to do more integration with our systems. Please contact firstname.lastname@example.org for that situation.
TECHNICAL NOTE: Most of the tools described here use sftp, which is a file transfer protocol running over ssh. It performs surprisingly well. On a local, high-speed link sshfs performs nearly as well as NFS.
- GUI file copy: We recommend either Cyberduck or Filezilla. Both are free. The appearance, and how they work are slightly different.
- Mount progrm. We recommend Webdrive. Rutgers has licensed it for all faculty, staff and students.
More sophisticated users may prefer to use sshfs for mounting. See the Linux sections for details. To use it on the Mac, you need two separate packages: FUSE and sshfs. Both are available from the OSX FUSE site. To access cloud services using a command-line tool, Rclone is available for the Macintosh. It can be used to copy and synchronize files, but it also has a mount option.
- GUI file copy: We suggest looking at CyberDuck, WinSCP or Filezilla. All are free. The appearance, and how they work are slightly different.
- Mount program. We recommend Webdrive. Rutgers has licensed it for all faculty, staff and students.
If you prefer to do file copies from the command line, the Putty site has psftp and pscp, both of which can be used to copy files to and from our servers.
- GUI file copy. Linux has a number of different window environments. The most common one in current distributions is Gnome. In Gnome’s file manager (Nautilus): at the bottom of the left bar, click “+ Other Locations.” Then at the bottom of the right section, in “Connect to server”, server address, type sftp://HOSTNAME, where HOSTNAME is the name of the computer your files are stored on. For students, you can use the name of any of the computers in the ilab. Similar capabilities should be present in the other major file managers.
- Mount program. You will want to use sshfs. packages for sshfs are available for all major distributions.
- 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 hedrick@COMPUTER.cs.rutgers.edu: remote”. COMPUTER should be replaced by the specific computer that has your files. If you’re a student, you can use the name of any of the ilab systems.
- 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”)
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.
If you want to access files on cloud services such as dropbox, we suggest that you look into Rclone. It is designed to copy files, but it also has a mount option.
If you have problems or questions, please email email@example.com