Generate and use SSH keys with IU Sitehosting

On this page:


Overview

To use SSH keys on IU Sitehosting, follow the instructions for your OS.

Note:
You should not manually edit your authorized_keys file in the .ssh directory in your account. Any manual changes made to this file will be purged!

Linux/Mac instructions

  1. Generate a public/private key pair.
    1. Follow steps 1 and 2 in the linked instructions.
    2. Once the key pair has been generated, navigate to the location where you saved the public key.
    3. Copy the contents of your public key (this is the file with the .pub extension).
    4. Once you copy the contents of your public key, navigate to Webtech.
    5. Click Sign in at the top right corner and log in using your IU username and passphrase.
    6. Click your name that appears at the top right corner. That should take you to the "Manage your profile” page.
    7. Under "Add Public SSH Key":
      1. Enter a short description in the "Note" field.
      2. Paste the public key you copied in step 3 above into the "Public Key" field.
    8. Click Add. If the public key is valid, it will be added to your profile. Within 30 minutes, the public key will be added to all sitehost-test and sitehost accounts that you own, or for which you are a proxy or developer.
    9. Once your public key gets added to your accounts, see:

Windows instructions

  1. Generate SSH key pair on Windows.

    After the key has been generated, for step 3, copy the public key displayed in the box (make sure you copy all of the generated content for the public key).

    1. Once you copy the generated public key, navigate to Webtech.
    2. Click Sign in at the top right corner, and log in using your IU username and passphrase.
    3. Click your name that appears at the top right corner. That should take you to the "Manage your profile" page.
    4. Under "Add Public SSH Key":
      • Enter a short description in the "Note" field.
      • Paste the public key you copied above into the "Public Key" field.
    5. Click Add. If the public key is valid, it will be added to your profile. Within 30 minutes, the public key will be added to all sitehost-test and sitehost accounts that you own, or for which you are a proxy or developer.

Connect to IU Sitehosting using SSH keys in various applications

This is document ayet in the Knowledge Base.
Last modified on 2019-08-21 15:52:53.

Contact us

For help or to comment, email the UITS Support Center.