Skip to content

Midway Alias (an easier way to access Midway, for Mac) #27

Description

@rebekahanne

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.

  1. Open a terminal window.
  2. Type vim ~/.bash_profile so that you open .bash_profile with vim.
  3. Type i so that you are in insert mode in vim.
  4. Add alias midway="ssh rccguestXXX@midway2.rcc.uchicago.edu" to your .bash_profile, replacing XXXX with the last four digits of your yubikey.
  5. Press escape to exit the insert mode.
  6. Type :wq to save your changes and exit vim.
  7. 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!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions