It is easy to get tired of typing ssh username@hpc-login3.usc.edu
again and again when trying to login to hpc. Here are some steps that can help save a few seconds everyday.
A heads-up: These steps only work for git bash terminal on windows.
cd
nano .bashrc
Enter your alias in .bashrc:
hpc='ssh username@hpc-login3.usc.edu'
Close .bashrc and then type the following command in git bash terminal:
source .bashrc
Okay, now we can forget ssh username@hpc-login3.usc.edu
and only need to type hpc
next time.