SSH shortcut

Created by Bent Petersen, Modified on Mon, 15 Apr, 2024 at 1:19 PM by Bent Petersen

If you connect to Mjolnir often, you may wish to create an SSH shortcut to save you time typing. To do this, you’ll have to edit your SSH config file on your local computer:


vi ~/.ssh/config


With the following lines:


host mj
   Hostname mjolnirgate.unicph.domain
   User <YOUR-KU-ID>
   ServerAliveInterval 60


Once you’ve reloaded your bash session (or reopened your terminal program), you can now connect using the following shortcut:


ssh mj

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article