August 22, 2025,
0 comments
Most likely, your machine isn’t recognizing the username of your CADE account and instead is grabbing the username of your local machine (e.g. C:\Users\Bob on Windows, /Users/Bob on macOS, /home/bob on Linux/BSD instead of a lab machine /home/u8675309).
To test this, SSH into a lab machine that you have never connected to before. In VS Code, click on the button that has a greater than and less than symbol next to each other (it should show ‘Open a remote window’ above the button when highlighted) on the bottom left and this should open a menu on the top. Click on Connect to host, then type in ‘yourcadeusername@labX-X.eng.utah.edu’ (e.g. u8675309@lab2-1.eng.utah.edu).
It will then warn you that “lab2-1.eng.utah.edu has fingerprint SHA256:fingerprintkey”. Click or type ‘Continue’. It should ask for your CADE password and as long as you’re on campus wifi it shouldn’t ask for a verification code. It may take a minute to connect as VS Code has to download the VS Code server.
September 28, 2023,
0 comments
When connecting to the CADE machines with NoMachine, the most common error a user may receive is “Disk Quota Exceeded”. This message occurs when a user has used up the allotted space in their home directory (default currently 16GB).
To fix this, you’ll need to grab an SSH session to a lab machine and delete some data that way.
Using Windows Powershell or a Mac Terminal, run “ssh username@lab1-1.eng.utah.edu”
Then run “du -xhad1 | sort -hr | head -n 20”
This will summarize your disk usage with depth=1. This will take a few minutes. Be patient!
For example:
[user@lab1-1 ~]$ du -xhad1 ~ | sort -hr | head -n 10
16.0G /home/user
13.4G /home/user/Downloads
1014M /home/user/cs4200
468M /home/user/eclipse-workspace
190M /home/user/.mozilla
162M /home/user/.eclipse
128M /home/user/.nx
82M /home/user/PycharmProjects
44M /home/user/Videos
38M /home/user/Pictures
Here we can see that we’re using 16.0GB of space total. That’s our entire quota. Of the 16.0G, 13.4G is from the Downloads directory.
Let’s see what’s using the space in our Downloads directory.
[user@lab1-1 ~]$ du -xhad1 ~/Downloads | sort -hr | head -n 10
11G /home/user/Downloads/dataset.zip
2.4G /home/user/Downloads/DogVideo.mp4
12M /home/user/Downloads/Never Gonna Give You Up.mp3
Ah! that dataset we downloaded last semester is still in our Downloads directory. Let’s delete it.
[user@lab1-1 ~]$ rm /home/user/Downloads/dataset.zip
If you need to delete a directory (and all contents within), add the recursive and force options.
[user@lab1-1 ~]$ rm -rf /home/user/cs4200
You may also need to purge your NoMachine cache, as it may have gotten corrupted if NoMachine ran out of space while running.
[user@lab1-1 ~]$ rm -rf /home/user/.nx
July 5, 2023,
0 comments
When connecting to the CADE Linux machines from on campus or the VPN, you may connect as usual with a password or an SSH key. When connecting from off campus, you’ll need both your CADE password and a one time code(2nd Factor Authentication).
To register an OTP app, log into the CADE machines from on-campus or the VPN and:
1. Go to Applications > CADE > Configure 2FA or from a terminal run configure-2fa.sh. This will display a QR Code on the screen.
2. Using the Duo app (or any other OTP app) scan the QR Code, where you will be asked to enter a 6-digit code.*
3. When remoting in from off campus, you will be prompted to enter your password, and then the OTP code on the next prompt.
NOTE: There is a bug in the Duo app. When initially registering the code, if it says that your code is invalid, close the Duo app and wait until the minute switches (or ~60 secs), then reopen the app and type the code again. This is only relevant during the initial setup.
December 8, 2015,
0 comments
You must already be a member of said group to change to it as your primary GID.
Use the command ‘groups’ to see what groups you’re a member of, first in the list is primary.
[warthogs@lab1-23 ~]$ groups
csugrad mech_adm telerobotics mechoffice mechprof mediashare src cs6090 cei manu
To change your primary GID for your current session, run the command ‘newgrp’ followed by the name of the group:
[warthogs@lab1-23 ~]$ newgrp telerobotics
[warthogs@lab1-23 ~]$ groups
telerobotics csugrad mech_adm mechoffice mechprof mediashare src cs6090 cei man
If you want the change to persist, either add the command to your login script or contact us and request that we change your accounts primary GID.
September 25, 2015,
0 comments
We have {finally} evolved to where each user has ONE username and ONE password for all PCE/CADE machines and services. We may refer to your CADE or PCE username and password. This is separate from your CIS/uNID and it’s password, but we may ask you to use those for authentication, such as when creating your account or changing your password.
Accounts created prior to ~May of 2017, CADE/PCE username is some combination of letters from your names (First, Middle(s), & Last) and generated by an algorithm. For all newer accounts, the username is your uNID (formatted as a lower-case ‘u’ and 7 digits). Once created, we don’t change them except in rare circumstances.
Your CADE/PCE account is used for:
• logging in to any Linux, macOS, or Windows computer on our Domain (USERS\ or users.coe.utah.edu), including lab machines, Terminal Servers, VDI hosts, or other Virtual Machines.
• connecting/mounting a Network File Share with CIFS/SMB.
• WebPrint and any PaperCut printing services.
• mounting a Network File Share with NFS.
Note: Your CADE/PCE username and passwords are 100% separate and in addition to your CIS or other campus logins and accounts. Some departments may have labs or computers that require specific logins.
August 28, 2014,
0 comments
‘handin’ is a utility for turning in assignments to a course directory (/home/’course#’/handin/’Assignment’/username). Once turned in, the course professor/instructor or TAs can access the files, but neither you nor other students can see them. Running ‘handin’ will replace same-named files with each successive run. The online webhandin https://webhandin.eng.utah.edu/ form has been discontinued, and is no longer accessible.
Handin is accessed via the command line on the Linux machines. Once a file has been submitted it will be received with the same name. Submitted files can be overwritten by resubmitting, but not retracted. — Check your assignment instructions/handout for the [Assignment] to use when submitting.
Command/Examples:
handin [class#] [Assignment] [/path/to/local-file]
$ handin CS0000 Assign01 ~/Documents/myAssignment.txt
April 16, 2013,
0 comments
Yes, login to the PCE User Tools page, click the ‘User Modify’ link. There, you can change your ‘Linux Login Shell’ to point to another (ie, csh, bash, zsh, …).
March 7, 2013,
0 comments
Download the known_hosts file from the ssh directory and place it in the appropriate directory or add the necessary lines to your existing file. Some software may require the list to be in a specific format or that the file be renamed.
www.cade.utah.edu/downloads
September 25, 2012,
0 comments
SFTP (Secure FTP) provides a secure way to tranfer files to and from /home directories in CADE. SFTP is alot like regular FTP except that all of its traffic in encrypted. To use SFTP, open a Terminal/X11/xterm on your machine, or simply get an SFTP client and connect to any of the lab workstations. There are clients available for Windows like PuTTY SFTP, FileZilla, SecureFX, SSH for Windows or WinSCP. If you need help in setting up a client, please read the tutorials:
Installing WinSCP (Windows only).
Using WinSCP(Windows only)
For Mac OS X users wishing a GUI client, try the built-in client, FUGU, FileZilla or Cyberduck.
To make the CADE Lab more secure, we request that everyone use SFTP instead of FTP.
September 19, 2012,
0 comments
Secure Shell (SSH), sometimes known as Secure Socket Shell, is a UNIX-based command interface and protocol for securely getting access to a remote computer. It is widely used by network administrators to control desktop machines and other kinds of servers remotely.
SSH is actually a suite of three utilities – slogin, ssh, and scp – that are secure versions of the earlier UNIX utilities, rlogin, rsh, and rcp. SSH commands are encrypted and secure in several ways. Both ends of the client/server connection are authenticated using a digital certificate, and passwords are protected by being encrypted. SSH uses RSA public key cryptography for both connection and authentication. Encryption algorithms include Blowfish, DES, and RSA.
If you have Mac OS X or use Linux then you already have the tools you need to remotely log in. Please see the FAQ on “Which CADE machines can I log into” for information on the correct syntax.
For those of you who use Windows and want to be able to use SSH to remotely log in you will need to install and xserver client. We recommend using Windows PowerShell or PuTTY. There are clients available for Windows like Cygwin, SecureFX, XMing and SSH for Windows.