-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
Here are a few simple steps to edit your .bash_profile to create an alias to login into Midway2 more quickly. This is written for Mac, but these steps could be translated for Windows users as well.
- Open a terminal window.
- Type
vim ~/.bash_profileso that you open .bash_profile with vim. - Type
iso that you are in insert mode in vim. - Add
alias midway="ssh rccguestXXX@midway2.rcc.uchicago.edu"to your .bash_profile, replacing XXXX with the last four digits of your yubikey. - Press escape to exit the insert mode.
- Type
:wqto save your changes and exit vim. - Type
source ~/.bash_profile
Now, you should just be able to type midway into your terminal window, and you will be prompted to enter a password using your yubikey.
(Thanks @EricHuang49 for asking this question!)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels