Difference between revisions of "Remote Access for Z Drives"
From Systems Group
Line 1: | Line 1: | ||
− | + | As noted [[Windows Z Drive| here]], all students, staff, and faculty have a network storage share allocated for their CS account. These drives are seamlessly integrated on Computer Science desktops and servers, but to access them at home some extra steps must be taken. | |
== Windows == | == Windows == | ||
Line 10: | Line 10: | ||
#:[[File:Windows-Z_Drive-Step_2.png | border]] | #:[[File:Windows-Z_Drive-Step_2.png | border]] | ||
#: <br> | #: <br> | ||
− | # Enter your CS account credentials prepended by “cs\” and click “OK” | + | # Enter your CS account credentials with the username prepended by “cs\” and click “OK” |
#:[[File:Windows-Z_Drive-Step_3.png | border]] | #:[[File:Windows-Z_Drive-Step_3.png | border]] | ||
#: <br> | #: <br> | ||
Line 18: | Line 18: | ||
== Linux == | == Linux == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==== SSHFS ==== | ==== SSHFS ==== | ||
+ | SSHFS is a filesystem client that uses SFTP over SSH to securely provide file access. Because of SSH's existing security, using SSHFS does not require our VPN if our public Linux servers are used as the host. | ||
# Install <code>sshfs</code> from your distribution's package manager | # Install <code>sshfs</code> from your distribution's package manager | ||
# Create a directory to mount the share over: | # Create a directory to mount the share over: | ||
#: <pre>$ mkdir ~/zdrive</pre> | #: <pre>$ mkdir ~/zdrive</pre> | ||
# Mount the share; rather than use a network path, SSHFS uses a server followed by the directory's path on that server. For example: | # Mount the share; rather than use a network path, SSHFS uses a server followed by the directory's path on that server. For example: | ||
− | #: <pre>$ sshfs | + | #: <pre>$ sshfs $YOUR_USERNAME@linux.cs.odu.edu:/home/$YOUR_USERNAME ~/zdrive</pre> |
+ | #: Be sure to replace <code>$YOUR_USERNAME</code>. | ||
+ | #: <br> | ||
# To unmount the share: | # To unmount the share: | ||
#: <pre>$ fusermount -u ~/zdrive</pre> | #: <pre>$ fusermount -u ~/zdrive</pre> | ||
+ | |||
+ | ==== CIFS ==== | ||
+ | Note that this method will require super user privileges. If you are not a privileged user, see SSHFS above. | ||
+ | # Connect to the CS VPN. Instructions on doing so can be found [[Remote Access & VPN | here]]. | ||
+ | # Install the <code>cifs-utils</code> package from your distribution's package manager | ||
+ | # Create a directory to mount the share over: | ||
+ | #: <pre>$ sudo mkdir /media/zdrive</pre> | ||
+ | # Mount the share using your network path from the table below. For example: | ||
+ | #: <pre>$ sudo mount -t cifs -o username=$YOUR_USERNAME,uid=$YOUR_UID //cifs-dgs.cs.odu.edu/Undergrad/username /media/zdrive</pre> | ||
+ | #: Be sure to replace <code>$YOUR_USERNAME</code> and <code>$YOUR_UID</code>. | ||
+ | #: <br> | ||
+ | # To unmount the share: | ||
+ | #: <pre>$ sudo umount /media/zdrive</pre> | ||
== MacOS == | == MacOS == | ||
− | # From the Go menu, select "Connect to Server" | + | # Connect to the CS VPN. Instructions on doing so can be found [[Remote Access & VPN | here]]. |
+ | # From the Go menu/ Mac OS X Finder, select "Connect to Server" | ||
# Type in your unix network path from the table below prepended by <code>smb:</code>For example: | # Type in your unix network path from the table below prepended by <code>smb:</code>For example: | ||
− | #: <pre>$ smb://cifs-dgs.cs.odu.edu/Undergrad/ | + | #: <pre>$ smb://cifs-dgs.cs.odu.edu/Undergrad/$YOUR_USERNAME</pre> |
+ | #: Be sure to replace <code>$YOUR_USERNAME</code>. | ||
== Network paths == | == Network paths == | ||
− | {| class="wikitable" style="width:800px; border:0px | + | Be sure to replace "username" with your computer science username. |
+ | {| class="wikitable" style="width:800px; border:0px;" | ||
|- | |- | ||
− | ! Account type !! Windows network path !! Unix network path | + | ! Account type !! Windows network path !! Unix network path |
|- | |- | ||
| Undergraduate || \\cifs-dgs.cs.odu.edu\Undergrad\<code>username</code> || //cifs-dgs.cs.odu.edu/Undergrad/<code>username</code> | | Undergraduate || \\cifs-dgs.cs.odu.edu\Undergrad\<code>username</code> || //cifs-dgs.cs.odu.edu/Undergrad/<code>username</code> | ||
Line 55: | Line 64: | ||
| Faculty || \\cifs-ecs.cs.odu.edu\Faculty\<code>username</code>|| //cifs-ecs.cs.odu.edu/Faculty/<code>username</code> | | Faculty || \\cifs-ecs.cs.odu.edu\Faculty\<code>username</code>|| //cifs-ecs.cs.odu.edu/Faculty/<code>username</code> | ||
|} | |} | ||
− |
Revision as of 21:14, 14 April 2020
As noted here, all students, staff, and faculty have a network storage share allocated for their CS account. These drives are seamlessly integrated on Computer Science desktops and servers, but to access them at home some extra steps must be taken.
Windows
- Connect to the CS VPN. Instructions on doing so can be found here.
- Open Windows File Explorer either by right clicking the “Start” button and selecting “File Explorer” or by pressing
⊞WIN + E
- Right click “This PC” and select “Map network drive…”
- Type the network path (folder) of your drive, select “Connect using different credentials,” and click “Finish.” If you don’t know the network path of your drive, see the table below. Be sure to replace “username” with your CS username:
- Enter your CS account credentials with the username prepended by “cs\” and click “OK”
- Your Z drive should now be connected. Note that it will not be available if you disconnect from the VPN.
Linux
SSHFS
SSHFS is a filesystem client that uses SFTP over SSH to securely provide file access. Because of SSH's existing security, using SSHFS does not require our VPN if our public Linux servers are used as the host.
- Install
sshfs
from your distribution's package manager - Create a directory to mount the share over:
-
$ mkdir ~/zdrive
-
- Mount the share; rather than use a network path, SSHFS uses a server followed by the directory's path on that server. For example:
-
$ sshfs $YOUR_USERNAME@linux.cs.odu.edu:/home/$YOUR_USERNAME ~/zdrive
- Be sure to replace
$YOUR_USERNAME
. -
-
- To unmount the share:
-
$ fusermount -u ~/zdrive
-
CIFS
Note that this method will require super user privileges. If you are not a privileged user, see SSHFS above.
- Connect to the CS VPN. Instructions on doing so can be found here.
- Install the
cifs-utils
package from your distribution's package manager - Create a directory to mount the share over:
-
$ sudo mkdir /media/zdrive
-
- Mount the share using your network path from the table below. For example:
-
$ sudo mount -t cifs -o username=$YOUR_USERNAME,uid=$YOUR_UID //cifs-dgs.cs.odu.edu/Undergrad/username /media/zdrive
- Be sure to replace
$YOUR_USERNAME
and$YOUR_UID
. -
-
- To unmount the share:
-
$ sudo umount /media/zdrive
-
MacOS
- Connect to the CS VPN. Instructions on doing so can be found here.
- From the Go menu/ Mac OS X Finder, select "Connect to Server"
- Type in your unix network path from the table below prepended by
smb:
For example:-
$ smb://cifs-dgs.cs.odu.edu/Undergrad/$YOUR_USERNAME
- Be sure to replace
$YOUR_USERNAME
.
-
Network paths
Be sure to replace "username" with your computer science username.
Account type | Windows network path | Unix network path |
---|---|---|
Undergraduate | \\cifs-dgs.cs.odu.edu\Undergrad\username |
//cifs-dgs.cs.odu.edu/Undergrad/username
|
Graduate | \\cifs-ecs.cs.odu.edu\Grad\username |
//cifs-ecs.cs.odu.edu/Grad/username
|
Staff | \\cifs-dgs.cs.odu.edu\Staff\username |
//cifs-dgs.cs.odu.edu/Staff/username
|
Faculty | \\cifs-ecs.cs.odu.edu\Faculty\username |
//cifs-ecs.cs.odu.edu/Faculty/username
|