Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pub:hpc:mill [2025/10/07 22:24] – Added network scratch as an option and edited local scratch to fit. tvmwd6pub:hpc:mill [2025/12/22 16:05] (current) – [SSH Keys] dbwkp
Line 2: Line 2:
 ===== Request an account ===== ===== Request an account =====
 You can request an account on the Mill by filling out the account request form at help.mst.edu in the HPC Cluster category:[[https://tdx.umsystem.edu/TDClient/48/Portal/Requests/TicketRequests/NewForm?ID=PEUIinShX0k_&RequestorType=Service|help.mst.edu]] You can request an account on the Mill by filling out the account request form at help.mst.edu in the HPC Cluster category:[[https://tdx.umsystem.edu/TDClient/48/Portal/Requests/TicketRequests/NewForm?ID=PEUIinShX0k_&RequestorType=Service|help.mst.edu]]
 +
 +
 +===== SSH Keys =====
 +
 +If you want to connect using SSH keys, either to avoid having to type in your password, or are wanting to connect from off campus without a VPN, you can add your SSH public key to Mill.
 +
 +For Windows users, we recommend using MobaXterm https://mobaxterm.mobatek.net. Powershell, git bash, and putty are some other available options. Mac and Linux users can use the default terminal.
 +Generating an SSH Key
 +
 +You can generate a new SSH key on your local machine. After you generate the key, you can add the public key to your account on Mill.
 +
 +    Open terminal
 +    Paste the text below, replacing the email used in the example with your University email address.
 +
 +ssh-keygen -t ed25519 -C "sso@example.com"
 +
 +    Note: If you are using a legacy system that doesn't support the Ed25519 algorithm, use:
 +
 +    ssh-keygen -t rsa -b 4096 -C "sso@example.com"
 +
 +This creates a new SSH key, using the provided email as a label.
 +
 +Generating public/private ALGORITHM key pair.
 +
 +When you're prompted to “Enter a file in which to save the key”, you can press Enter to accept the default file location. Please note that if you created SSH keys previously, ssh-keygen may ask you to rewrite another key, in which case we recommend creating a custom-named SSH key. To do so, type the default file location and replace id_ALGORITHM with your custom key name.
 +
 +# Windows
 +Enter file in which to save the key (/c/Users/USERNAME/.ssh/id_ALGORITHM):[Press enter]
 +# Mac
 +Enter a file in which to save the key (/Users/USERNAME/.ssh/id_ALGORITHM): [Press enter]
 +# Linux
 +Enter a file in which to save the key (/home/USERNAME/.ssh/id_ALGORITHM):[Press enter]
 +
 +    At the prompt, type a secure passphrase.
 +
 +Enter passphrase (empty for no passphrase): [Type a passphrase]
 +Enter same passphrase again: [Type passphrase again]
 +
 +Adding your SSH key
 +
 +You may add your own SSH public key to your Mill account. You can also send the key to tdx.umsystem.edu  and we can add it to your Mill account.
 +
 +    Copy the contents of your SSH public key, which is written to the file created in the Generating an SSH Key step.
 +
 +# Windows
 +Your public key has been saved in /c/Users/USERNAME/.ssh/id_ALGORITHM.pub
 +# Mac
 +Your public key has been saved in /Users/USERNAME/.ssh/id_ALGORITHM.pub
 +# Linux
 +Your public key has been saved in /home/USERNAME/.ssh/id_ALGORITHM.pub
 +# Windows
 +
 +    The id_ALGORITHM.pub file contents should look similar to the ones below.
 +
 +# ed25519
 +ssh-ed25519 AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSUGP truman@example.com
 +
 +# rsa
 +ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSUGPl+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3Pbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XAt3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/EnmZ+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbxNrRFi9wrf+M7Q== truman@example.com
 +
 +    Add your public key to your account by appending it to your authorized_keys file on Mill
 +
 +[sso@mill-login ~]$ vim /home/sso/.ssh/authorized_keys
 +
 +    OR send us your public key.
 +
 +
 ===== System Information ===== ===== System Information =====
 ====DOI and Citing the Mill==== ====DOI and Citing the Mill====