# Logging into the CRC
*Specifics targeted towards students of BIOS 60132 - Intro to Computational Genomics at Notre Dame, Fall 2020 semester*
*This tutorial was written by Chissa Rivaldi and last updated on 08-12-2020*
---
1. Open your terminal (or Bash on Windows, or cygwin, etc.)
2. Use the command `ssh` to log on to a remote computer. For us this looks like this:
```
ssh <netid>@crcfe01.crc.nd.edu
```
This command will log you on to the computer crcfe01, which stands for CRC Front End 01. Another option is crcfe02.
Whether or not you have access is determined by your account status. If you just summitted an account request and haven't heard back, you might be denied permission to these machines. The only people who can resolve this are the CRC staff.
3. Enter your password - you won't see your cursor move, but rest assured your keystrokes are being recorded. Read the text that pops up when you've successfully logged on - it often contains important information about the system you're using - when maintenence is, etc. This is what it looks like when I log in:

4. Start computing! Try some of the same things you've done previously in the command line.
5. Things NOT to do on a remote computer:
- Use [sudo](https://kb.iu.edu/d/amyi) - this is not your computer and the people who run this computer will send you an irritated email if you try to use sudo to force anything. You almost never need to use sudo in a bioinformatics workflow. The most common places I've come across needing to use sudo is in installation - if you need to install something and the installation tells you to use sudo, [here are some instructions to let you avoid that](https://monsterbashseq.wordpress.com/2016/01/24/how-to-install-linux-software-without-root-privileges/)
- Run really resource-heavy programs in the command line. This is a shared computer that other researchers in at the university use pretty often so we want to conserve resources as much as possible. Instead, [submit a job](https://docs.crc.nd.edu/new_user/quick_start.html#job-scripts).
6. Transferring files to and from a remote computer (aka getting your data to the CRC and your results on your own computer):
- `scp` - Instructions -> https://kb.iu.edu/d/agye
- `sftp` - Instructions -> https://hackmd.io/s/rybzCZasX#
- bonus instructions for filezilla included in above link
- github - clone/merge things into/from a remote repo. Not super efficient but works for most purposes.