{"id":200,"date":"2019-01-14T12:55:25","date_gmt":"2019-01-14T17:55:25","guid":{"rendered":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/?page_id=200"},"modified":"2025-10-08T12:02:24","modified_gmt":"2025-10-08T16:02:24","slug":"accessing-files-remotely","status":"publish","type":"page","link":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/docs\/file-storage\/accessing-files-remotely\/","title":{"rendered":"Accessing Files Remotely"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"200\" class=\"elementor elementor-200\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-39d8d639 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"39d8d639\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6c68a62b\" data-id=\"6c68a62b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4360ab8e elementor-widget elementor-widget-text-editor\" data-id=\"4360ab8e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div id=\"content-head\" class=\"row-fluid content-head\"><p id=\"page-title\" class=\"title\">This page is about accessing files from home systems. If you have a Linux system within the department, see <a href=\"http:\/\/services.cs.rutgers.edu\/sharing.html\" target=\"_blank\" rel=\"noopener\">Sharing Files <\/a>to access files on our servers and share files between systems. (We say Linux because that&#8217;s where our experience is. In principle, Macs have the same facilities, and even Windows can participate to some extent.)<\/p><\/div><div id=\"content-top\" class=\"row-fluid content-top\"><div class=\"region region-content-top clearfix\"><div id=\"block-system-main\" class=\"clearfix block block-system\"><div class=\"content\"><article id=\"node-326\" class=\"node node-resource-page clearfix\"><div class=\"content\"><div class=\"field field-name-body field-type-text-with-summary field-label-hidden\"><div class=\"field-items\"><div class=\"field-item even\"><h2>Accessing CS File Servers Remotely<\/h2><p>Many of our users want to access files on computer science systems from home or other computer systems they control. There are two reasonable ways to do this:<\/p><ul><li>A GUI file copy program. This lets you look at files in your CS home directory and copy them to and from your computer. The GUI tools generally look very similar to the Mac Finder or the Windows File Explorer, except that they look at files at Rutgers rather than files on your home computer. Use this approach to make copies of your files, work on them at home, and then copy them back to Rutgers when finished.<\/li><li>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 appear in the Finder, File Explorer, and File dialog in most applications. Use this approach to work on file at Rutgers without making copies.<\/li><\/ul><p style=\"padding-left: 40px\"><em>NOTE<\/em>: This section describes approaches for regular user home computers. If you&#8217;re running a server with multiple CS users, it may make sense to integrate more with our systems by<a href=\"https:\/\/resources.cs.rutgers.edu\/docs\/setting-up-kerberos-support-for-your-home-or-office-machine\/\"> setting up Kerberos on your home system<\/a>. Please contact <a href=\"mailto:help@cs.rutgers.edu\">help@cs.rutgers.edu<\/a> for that situation.<\/p><p style=\"padding-left: 40px\"><em>TECHNICAL NOTE:<\/em> Most tools described here use sftp, a file transfer protocol running over SSH. It performs surprisingly well. On a local, high-speed link, sshfs performs nearly as well as NFS.<\/p><details><summary><b>Macintosh<\/b><\/summary><ul><li>GUI file copy: We recommend either <a href=\"https:\/\/cyberduck.io\/?l=en\" target=\"_blank\" rel=\"noopener\">Cyberduck<\/a> or <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener\">Filezilla<\/a>. Both are free. The appearance and how they work are slightly different.<\/li><li>Mount as a file system. These options will make your home directory (or other Linux directory) look like a local Macintosh file system. MountainDuck is the easiest option for typical users but costs $39.<\/li><\/ul><p style=\"padding-left: 40px\">More sophisticated users may prefer to use sshfs for mounting. See the Linux sections for details. You need two packages to use on the Mac: FUSE and sshfs. Both are available from the <a href=\"https:\/\/osxfuse.github.io\/\" target=\"_blank\" rel=\"noopener\">OSX FUSE site.<\/a> Another option that allows you to access cloud services is <a href=\"https:\/\/rclone.org\/\" target=\"_blank\" rel=\"noopener\">Rclone<\/a>. However, this command-line tool will take significant knowledge to set up.<\/p><\/details><details><summary><b>Windows<\/b><\/summary><ul><li>GUI file copy: We suggest looking at <a href=\"https:\/\/cyberduck.io\/\" target=\"_blank\" rel=\"noopener\">CyberDuck<\/a>, <a href=\"https:\/\/winscp.net\/eng\/index.php\" target=\"_blank\" rel=\"noopener\">WinSCP<\/a>, Filezilla, or Bitvise SSH Client. (video). All are free. The appearance and how they work are slightly different.<\/li><li>Mount as a drive letter. These options will make your home directory (or other Linux directory) look like a computer&#8217;s disk drive. <a href=\"https:\/\/mountainduck.io\/\">MountainDuck<\/a> costs $39. The only free tool we&#8217;ve been able to find is <a href=\"https:\/\/rclone.org\/\">rclone<\/a>. It works fine but requires significant knowledge to set it up.<\/li><\/ul><\/details><details><summary><b>Linux<\/b><\/summary><ul><li><strong>GUI file copy. <\/strong><br \/>Linux has several different Windows environments. The most common one in current distributions is Gnome. In Gnome&#8217;s file manager (Nautilus),<ul><li>at the bottom of the left bar, click <button>+ Other Locations.<\/button><\/li><li>Then, at the bottom of the right section, in <button>Connect to server<\/button>, type the server address <code>sftp:\/\/HOSTNAME<\/code>, where HOSTNAME is the name of the computer on which your files are stored. Students can use the names of any of the computers in the iLab. Similar capabilities should be present in the other prominent file managers.<\/li><\/ul><\/li><li><strong>Mount program.<\/strong><br \/>You will want to use <strong>sshfs<\/strong>. Packages for sshfs are available at all major distributions.<ul><li>find or create a &#8220;mount point.&#8221; This is a directory where the remote file system will be available. If it&#8217;s your computer, it&#8217;s common to use a directory in the root filesystem, such as <strong>\/mnt<\/strong>, but you can also use &#8220;mkdir&#8221; to create a directory in your home directory. You must have &#8216;write&#8217; access to the directory. For this example, type <code>mkdir remote<\/code> to create a new directory<\/li><li>use <strong>sshfs<\/strong> to mount the remote file system. For example, to mount a lab directory on &#8216;<strong>remote<\/strong>,&#8217; use:<br \/><code>sshfs hedrick@COMPUTER.cs.rutgers.edu:remote<\/code><br \/>COMPUTER should be replaced by the specific computer that has your files. If you&#8217;re a student, you can use the name of any of the ilab systems.<\/li><li>At this point, you should see all files in the directory &#8220;<strong>remote<\/strong>.&#8221;<\/li><li>To unmount, use the <code>fusermount -u remote<\/code> (on the Mac <code>umount remote<\/code>)<\/li><\/ul><\/li><\/ul><p style=\"padding-left: 40px\"><strong>Note:<\/strong> User and groups may appear incorrectly unless the names and numbers match on the two ends. This shouldn&#8217;t usually 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 <em>idmap<\/em> and <em>gidfile<\/em> options to map groups on the other end to groups on your system. In most cases, this won&#8217;t be a problem.<\/p><p style=\"padding-left: 40px\">If you want to access files on cloud services such as Dropbox, we suggest you look into Rclone. It is designed to copy files but also has a mount option.<\/p><\/details><p class=\"p1\">For help with our systems or immediate assistance, visit <a href=\"http:\/\/www.cs.rutgers.edu\/~operator\/\"><span class=\"s1\">LCSR Operator<\/span><\/a> at CoRE 235 or call 848-445-2443. Otherwise, see <a href=\"https:\/\/resources.cs.rutgers.edu\/support\/\"><b>CS HelpDesk<\/b><\/a>. Don&#8217;t forget to include your NetID along with descriptions of your problem.<\/p><\/div><\/div><\/div><\/div><\/article><\/div><\/div><\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>This page is about accessing files from home systems. If you have a Linux system within the department, see Sharing Files to access files on our servers and share files between systems. (We say Linux because that&#8217;s where our experience is. In principle, Macs have the same facilities, and even Windows can participate to some [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":463,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-200","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/wp-json\/wp\/v2\/pages\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":37,"href":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/wp-json\/wp\/v2\/pages\/200\/revisions"}],"predecessor-version":[{"id":10188,"href":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/wp-json\/wp\/v2\/pages\/200\/revisions\/10188"}],"up":[{"embeddable":true,"href":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/wp-json\/wp\/v2\/pages\/463"}],"wp:attachment":[{"href":"https:\/\/wordpress.cs.rutgers.edu\/resources-cs-rutgers-edu\/wp-json\/wp\/v2\/media?parent=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}