SSH Key Authentication: Difference between revisions

From Cheaha
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
ssh-keygen -t rsa
ssh-keygen -t rsa
</pre>  
</pre>  
 
* You can put a passphrase for your SSH key (''' Not mandatory but highly recommended''')
** You can put a passphrase for your SSH key (''' Not mandatory but highly recommended''')
* A '''id_rsa.pub''' file would have been created.
* A '''id_rsa.pub''' file would have been created.
* Open the file by running '''less ~/.ssh/id_rsa.pub''' and copy the content.
* Open the file by running '''less ~/.ssh/id_rsa.pub''' and copy the content.
Line 17: Line 16:
* Run  
* Run  


          ssh '''blazerid'''@cheaha.rc.uab.edu .
ssh '''blazerid'''@cheaha.rc.uab.edu


** You should have been able to login to Big Green.
* You should have been able to login to Big Green.




Line 29: Line 28:
ssh-keygen -t rsa
ssh-keygen -t rsa
</pre>  
</pre>  
** You can put a passphrase for your SSH key (''' Not mandatory but highly recommended''')
* You can put a passphrase for your SSH key (''' Not mandatory but highly recommended''')
* A '''id_rsa.pub''' file would have been created.
* A '''id_rsa.pub''' file would have been created.
* Open the file by running '''less ~/.ssh/id_rsa.pub''' and copy the content.
* Open the file by running '''less ~/.ssh/id_rsa.pub''' and copy the content.
Line 36: Line 35:
* Now log out from cheaha.uabgrid.uab.edu
* Now log out from cheaha.uabgrid.uab.edu
* Run  
* Run  
<pre>
 
ssh '''blazerid'''@cheaha.rc.uab.edu .
ssh '''blazerid'''@cheaha.rc.uab.edu
</pre>
 
** You should have been able to login to Big Green.
* You should have been able to login to Big Green.
 


===Windows===
===Windows===

Revision as of 22:47, 27 August 2016

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