Supported by the National Science Foundation Collaborator: University of Michigan Collaborator: Michigan State University Collaborator: Wayne State University Collaborator: Indiana University

To use ssh/scp/sftp login to OSIRIS xfer nodes you must use an SSH keypair.

Your ssh key should work to login to the following nodes which have the OSiRIS CephFS mounted at /osiris. Your COU will have a directory named the same as your COU lowercase (/osiris/mycou).

um-xfer01.osris.org
wsu-xfer01.osris.org
msu-xfer01.osris.org

Generating a keypair

If you do not already a key use ssh-keygen to generate one.

Do not leave the passphrase blank.

The only exception is if you must use the key in an automated process. We recommend generating a 2nd key used only for this purpose if that is the case.

[user@host ~]$ ssh-keygen 
Generating public/private rsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
 
Your identification has been saved in /home/user/.ssh/id_rsa.
Your public key has been saved in /home/user/.ssh/id_rsa.pub.

Keep the ‘id_rsa’ file private and protected. The contents of id_rsa.pub will be uploaded to OSiRIS.

Uploading public key to OSiRIS

After your OSiRIS enrollment has been approved login to OSiRIS COmanage. Open your identity using the Person menu at the upper right:

COmanage Identity Menu

Scroll down. You will see a section for ‘ssh keys’. Click on Add. You can add multiple keys by repeating this process.

COmanage SSH key add button

On the following screen you have the option to paste in the text of your SSH key or you can upload directly the id_rsa.pub file created earlier.

COmanage SSH key upload screen

If pasting a key you must paste each part of the key separately: COmanage SSH key upload screen

Note: A real key will be much longer.

Once attached to your identity you can login to one of the xfer gateways noted above. Note that your username can be found under Identifiers on the same ‘My OSiRIS Identity’ page. COmanage identifiers

So for this example the user name is ‘eben’:

ssh eben@um-xfer01.osris.org