SSH Key Authentication

From Cheaha
Revision as of 22:40, 27 August 2016 by Ravi89@uab.edu (talk | contribs)
Jump to navigation Jump to search


Attention: Research Computing Documentation has Moved
https://docs.rc.uab.edu/


Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.


As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.

Thank you,

The Research Computing Team

These instructions assist existing users of Cheaha in getting access to Big Green / Cheaha2.

Mac OS X

  • On your Mac open Terminal application.
  • Run the following command on your terminal:
ssh-keygen -t rsa
    • You can put a passphrase for your SSH key ( Not mandatory but highly recommended)
  • A id_rsa.pub file would have been created.
  • Open the file by running less ~/.ssh/id_rsa.pub and copy the content.
  • Press q to exit out of the file.
  • Now SSH to your cheaha.uabgrid.uab.edu account , and paste the content in ~/.ssh/authorized_keys using your favorite editor.
  • Now log out from cheaha.uabgrid.uab.edu
  • Run
          ssh blazerid@cheaha.rc.uab.edu . 
    • You should have been able to login to Big Green.


Linux

  • On your linux machine open Terminal application.
  • Run the following command on your terminal:
ssh-keygen -t rsa
    • You can put a passphrase for your SSH key ( Not mandatory but highly recommended)
  • A id_rsa.pub file would have been created.
  • Open the file by running less ~/.ssh/id_rsa.pub and copy the content.
  • Press q to exit out of the file.
  • Now SSH to your cheaha.uabgrid.uab.edu account , and paste the content in ~/.ssh/authorized_keys using your favorite editor.
  • Now log out from cheaha.uabgrid.uab.edu
  • Run
ssh '''blazerid'''@cheaha.rc.uab.edu . 
    • You should have been able to login to Big Green.

Windows

Putty

SSH Secure Shell Client