5. CRSP clients
Depending on your laptop there are a few clients that can be installed.
Please note that RCIC does not provide Windows OS or macOS support for the campus. If there is an operating system related issue, RCIC will refer you to you get support to address your systems issue first before installing CRSP Desktop.
Supported Protocols for Accessing CRSP
The following underlying data transfer protocols are supported for clients accessing CRSP:
Protocol
Description
SFTP
The secure shell file transfer protocol, it is the only protocol available to desktop clients.
NFSv4
Network File System. This is only supported on HPC3 through the path /share/crsp.
HTTPS
It provides very simple, browser-based access to CRSP. This is a fallback access method.
5.1. Client Authentication
In July 2024, Campus DUO multifactor authentication became mandatory for all CRSP desktop clients. The push response of DUO can become very tiresome. On some clients, DUO can make CRSP unusable because every file transfer requires another DUO push. RCIC cannot “turn off DUO”.
However, ssh keys with strong passwords is a secure method to to provide a different second factor of authentication. SSH keys managed properly do not require DUO after initial setup but still maintain strong security.
- Quick Start
You should follow the guide to Generate SSH keys for different platforms. Remember:
Never copy an ssh private key file!
All ssh keys that you generate MUST have a strong password. Passwordless keys are a security violation.
DO NOT COPY ssh keys from one laptop to another. Every different physical device should have a different ssh key pair.
We highly recommend that your private key file is in PEM format and has a .pem file extension. The CRSP desktop clients recognize PEM-formatted keys more reliably.
Make sure you uploaded your public keys to CRSP per Managing Public SSH Keys on CRSP.
Learn how to use SSH Agent on your desktop/laptop. On Windows, you can also use Putty’s pageant. SSH agents securely store a private key in memory so that you only have to type the key’s passphrase once.
5.2. macOS CRSP Desktop App
The CRSP Desktop for macOS is a licensed and branded version of the generic Mountain Duck product. It allows you to map one or more CRSP drives or file paths to a folder on your Mac.
System Requirements
Supported Operating System |
Minimum Hardware Requirements |
|---|---|
Monterey / Mojave / Catalina / Big Sur / Ventura |
Intel or ARM (Apple Silicon) Processor 8 GB of memory 1 GB of disk space |
- The following sections explain how to install and use CRSP Desktop app on macOS:
- macOS Download Desktop App
Important
You must either be on the campus network or connected to the UCI campus VPN to download the installers.
UCI pays a per-seat license for CRSP Desktop. Please do not share your downloaded copy of CRSP Desktop Installer with anyone.
If you have a different (previous or newer) version of the CRSP Desktop (or Mountain Duck), you need to uninstall it.
- Download Step 1:
Using your choice of the web browser open URL CRSP File Browser and login using your UCInetID and password (left image below). Once you see a request for a Duo push (right image below) respond to it with your phone’s Duo app.
Logging in
Duo authentication
Fig. 5.1 Login using your UCI credentials
Fig. 5.2 Request for a DUO push
- Download Step 2:
- After a successful authentication the window will look similar to the one shown below.Click on the CRSP-Desktop-Downloads tab, then click on the CONNECT:
Fig. 5.3 CRSP web browser top level
- Download Step 3:
You should see three items on screen: a .pkg file for Mac clients, a .exe file for Windows, and older-versions folder. To toggle the between list and icon view click on the Layout icon outlined in green.
For the Mac, simply click on the file with .pkg ending:
Fig. 5.4 Select file to download
You should then see a screen with a download button on it and the full name of the file that will be downloaded to your local computer. Click Download:
Fig. 5.5 Download
You may see a popup window asking if you want to allow downloads from this site, click on Allow button and save the file to your local computer:
Fig. 5.6 Confirm download
- macOS: Install Desktop App
- Install Step 1:
Find the downloaded file, depending on your Mac configuration, the file is in your Downloads folder or in your Desktop:
Fig. 5.7 Downloaded CRSP Desktop app
- Install Step 2:
Double-click on the downloaded file name to launch the installation. You will see a confirmation window, click Open:
Fig. 5.8 Confirm opening of CRSP Desktop app
Congratulations! CRSP Desktop is now installed in your system!
- macOS: Password+DUO vs. Passphrase
You have two authentication options when connecting to CRSP:
- Option 1: SSH Key with Passphrase
We highly recommend that you use ssh keys with a passphrase as described in the Quick Start guide. Assuming you did that, when you click connect in the macOS Connect to Lab Share section, you should see a pop-up window similar to the following (with your ssh key info):
Fig. 5.14 Enter the ssh key passphrase
Notice that a passphrase for the ssh private key (a local file ~/.ssh/crsp-npw) is requested. You can optionally save the passphrase in your Keychain Access app.
Assuming that the public key for the private key has been properly installed on CRSP, you should be connected without a DUO prompt.
- Option 2: UCInetID + password + DUO Push
If you do not install an ssh key, you will be prompted for your UCInetID password and a DUO push. Even if you have the CRSP Desktop remember your password, the DUO Push will be required each and every time the desktop reconnects to CRSP.
Step 1 Enter your password, similar to the following:
Fig. 5.15 Enter the password associated with YOUR UCInetID
Step 2 Respond to the DUO push
Fig. 5.16 Respond to DUO
Usually, you would enter 1 in the box, click on Continue and you will receive a DUO push on your phone. If your phone isn’t available, then you can enter one of your DUO backup codes that you set up when you enrolled in DUO through the UCI Office of Information Technology.
5.3. Windows CRSP Desktop App
The CRSP Desktop for Windows is a licensed and branded version of the generic Mountain Duck product. It allows you to map one or more CRSP drives or file paths to a folder on your PC.
Supported Operating System |
Minimum Hardware Requirements |
|---|---|
Windows 10 / Windows 11 |
Pentium Class Processor 4 GB of memory (8 GB recommended) 1 GB of disk space |
- The following sections explain how to install and use CRSP Desktop app on macOS:
- Windows: Download Desktop App
Important
You must either be on the campus network or connected to the UCI campus VPN to download the installers.
UCI pays a per-seat license for CRSP Desktop. Please do not share your downloaded copy of CRSP Desktop Installer with anyone.
If you have a different (previous or newer) version of the CRSP Desktop (or Mountain Duck), you need to uninstall it.
- Download Step 1:
Using your choice of the web browser open URL CRSP File Browser and login using your UCInetID and password (left image below). Once you see a request for a Duo push (right image below) respond to it with your phone’s Duo app.
Logging in
Duo authentication
Fig. 5.18 Login using your UCI credentials
Fig. 5.19 Request for a DUO push
- Download Step 2:
- After a successful authentication the window will look similar to the one shown below.Click on the CRSP-Desktop-Downloads tab, then click on the CONNECT:
Fig. 5.20 CRSP web browser top level
- Download Step 3:
You should see three items on screen: a .pkg file for Mac clients, a .exe file for Windows, and older-versions folder. To toggle the between list and icon view click on the Layout icon outlined in green.
For the Windows, simply click on the file with .exe ending.
Fig. 5.21 Select file to download
You should then see a screen with a download button on it and the full name of the file that will be downloaded to your local computer. Click Download and save the file to your local computer:
Fig. 5.22 Download
- Windows: Install Desktop App
- Install Step 1
By default, the file is downloaded in your Downloads folder. Find the downloaded file, double-click on it to launch the installation of the licensed version of CRSP Desktop.
- Install Step 2
In the opened window click Install to Install the CRSP Desktop on your laptop.
Fig. 5.23 Install the CRSP Desktop.
- Install Step 3
After a successful installation, follow the instructions and click Restart to restart your computer:
Fig. 5.24 Restart your computer
Congratulations! CRSP Desktop is now installed in your system!
- Windows: Password + DUO vs. Passphrase
You have two authentication options when connecting to CRSP:
- Option 1: SSH Key with Passphrase
We highly recommend that you use ssh keys with a passphrase as described in the Quick Start guide. When you click Connect in the previous step win Connect to Lab Share, you should see a pop-up window similar to the following:
Fig. 5.30 Enter the ssh key passphrase
Notice that a passphrase is requested for a local file (ssh private key). You can optionally save the passphrase. Assuming that the public key for the private key has been properly installed on CRSP, you should be connected without a DUO prompt.
- Option 2: UCInetID + password + DUO Push
If you do NOT install an ssh key, you will be prompted for your UCInetID password and a DUO push. Even if you have the CRSP Desktop remember your password, the DUO Push will be required each and every time the desktop reconnects to CRSP.
Step 1 Enter your password, similar to the following:
Step 2 Respond to the DUO push
Usually, you would enter 1 in the box, and you will receive a DUO push on your phone. If your phone isn’t available, then you can enter one of your DUO backup codes that you set up when you enrolled in DUO through the UCI Office of Information Technology
Fig. 5.32 Respond to DUO
5.4. Web based File Browser
A simple, easy to use File Browser is platform independent and is compatible with most web browsers.
Important
File Browser is suitable only for lightweight use.
Use macOS CRSP Desktop App and Windows CRSP Desktop App for moderate/heavy use.
Your system must be updated with the latest version of Google Chrome, or Firefox or Safari
You must be registered and setup with UCI DUO
- The following sections explain how to install and use CRSP Desktop app on macOS:
- Web Browser Login
Using your choice of the web browser open URL CRSP File Browser and login using your UCInetID and password (left image below). Once you see a request for a Duo push (right image below) respond to it with your phone’s Duo app.
Logging in
Duo authentication
Fig. 5.34 Login using your UCI credentials
Fig. 5.35 Request for a DUO push
5.5. Linux SSHFS
The following sections explain how to install and use SSHFS on Linux laptop for accessing CRSP:
- Install SSHFS
On your laptop you will need super user (sudo) rights to install SSHFS.
For CentOS based laptop
$ yum -y install sshfs
For Ubuntu/Debian based systems
$ apt-get -y install sshfs
- Mount CRSP shares
SSHFS will Map CRSP Lab Share as a folder on your laptop.
Important
You must either be on the campus network or connected to the UCI campus VPN.
Information needed to connect to CRSP:
Your UCInetID
- The UCInetID of the CRSP lab owner:It is our UCInetID if you own CRSP LabIt is the UCInetID of your PI, If you are a graduate student/post-doctoral researcher.
From your desktop or laptop, execute the following command replacing username and labname with the appropriate UCInetID(s):
$ cd ~ $ mkdir crsp_mount $ sshfs -o ssh_command='ssh -A -X -o StrictHostKeyChecking=no' \ -o idmap=user username@access.crsp.uci.edu:/mmfs1/crsp/lab/labname \ ~/crsp_mount
As a result,
sshfsmounts CRSP Lab share under ~/crsp_mount directory. Use any name of your choice in place of crsp_mount.Sshfs will not automatically map all your remote UID and GID from all of your CRSP groups into your local Linux system, it will only present your primary UID/GID. Note in the command above the use of -o idmap=user option.
As the campus does not have a centralized directory service to manage every system, options to keep your local system and CRSP accounts synced are very limited.
- Unmount CRSP shares
To unmount the share that was mounted in the above example:
$ fusermount -u ~/crsp_mount
- Using SSHFS
Copy a file from your local system to your SSHFS mounted drive
$ cp ~/dir1/file.tar.gz ~/crsp_mount/share/
Recursively copy a directory from local system to mounted CRSP share using
rsync$ rsync -rltv ~/dir1 ~/crsp_mount/share/
5.6. Access from HPC3
On HPC3, CRSP shares are mounted in /share/crsp:
[user@login-x:~]$ ls /share/crsp
home lab
- home:
HOME area for all users accounts. All HOME snapshots are in /share/crsp/home/.snapshots with read only access. Users can only access their own HOME area.
- lab:
Lab area for all users accounts. Each LAB directory has snapshots in .snapshots/ for read-only access by LAB members.
- CRSP HOME
User CRSP HOME area is /share/crsp/home/UCInetID:
it is a placeholder for login related files.
it is different from your HPC3 account’s $HOME
Do not store anything in your CRSP HOME
file quotas.txt is placed automatically in your CRSP HOME area and provides information about quotas. Please see Quotas for details.
- CRSP LAB
LAB area is your primary storage area. It is /share/crsp/lab/UCInetID or any other LAB directories you have access for.
If you are a PI and it’s your lab
USERNAME
LABNAME
Mounted location
Read/write access
your
UCInetID
your
UCInetID
/share/crsp/lab/LABNAME
you can create any directories and files
/share/crsp/lab/LABNAME/USERNAME
your personal space
If you are added to a PI lab e.g., you are a student/postdoc in the lab
USERNAME
LABNAME
Mounted location
Read/write access
your
UCInetID
your PI
UCInetID
/share/crsp/lab/LABNAME/USERNAME
you and PI
/share/crsp/lab/LABNAME/share
all lab members
The following example shows the directory structure and permissions for a PI panteater who has a lab and added 2 students:
[user@login-x:~]$ ls -ld /share/crsp/lab/panteater drwxr-x--T 3 panteater panteater_lab_share 512 Mar 6 15:58 /share/crsp/lab/panteater [user@login-x:~]$ ls -l /share/crsp/lab/panteater drwx--S--- 2 panteater panteater_lab 2048 Jul 12 10:22 panteater # PI access drwxrws--- 2 student1 panteater_lab 512 Apr 29 10:27 student1 # student1/PI access drwxrws--- 2 student2 panteater_lab 512 Apr 29 10:27 student2 # student2/PI access drwxrws--T 4 panteater panteater_lab_share 512 Nov 2 2020 share # all in lab access
- Moving data to CRSP
Please see Data transfer for in-depth commands examples.
Recursively copy your mydir/ directory from DFS6 storage to your LAB share on CRSP:
[user@login-x:~]$ rsync -rv /dfs6/pub/paneater/mydir /share/crsp/lab/panteater/























