42 | | |
43 | | === 2.2 Pre-work: Project lead adds you to a project === |
44 | | In order to use the portal to reserve resources, you must join a project. We have created a project for this tutorial. |
45 | | |
46 | | {{{ |
47 | | #!html |
48 | | <table border="0"> |
49 | | |
50 | | <tr> |
51 | | <td > |
52 | | <ol type='a'> |
53 | | <li> The tutorial organizers should have added you to the project for this tutorial. On the home page, you should see that you are a member of at least one project. |
54 | | <table id="Table_03" border="0" cellpadding="5" cellspacing="0"> |
55 | | <tr> |
56 | | <td> |
57 | | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Symbols-Tips-icon.png?format=raw" width="50" height="50" alt="Tip"> |
58 | | </td> |
59 | | <td> |
60 | | If you are not doing this exercise as part of an in-person tutorial please sign up for a <a target="_blank" href="http://groups.geni.net/geni/wiki/SignMeUp">GENI account</a> and join a project. |
61 | | </td> |
62 | | </tr> |
63 | | </table> |
64 | | |
65 | | |
66 | | </li> |
67 | | </ol> |
68 | | </td> |
69 | | |
70 | | </tr> |
71 | | </table> |
72 | | }}} |
73 | | |
74 | | |
75 | | |
76 | | === 2.3 Generate and Download SSH Keypair === |
77 | | |
78 | | Access to compute resources in GENI is provided through ssh key pairs and thus the portal needs a public key to upload to compute resources. For the purposes of the tutorial we will have the portal create an SSH key pair for you. (However, if you prefer to use your personal public key you can choose to upload it.) |
79 | | |
80 | | {{{ |
81 | | #!html |
82 | | <table border="0"> |
83 | | <tr> |
84 | | <td > |
85 | | <ol type='a'> |
86 | | <li>Once you are logged in, click on the <i>Profile</i> page.</li> |
87 | | <li>On the <i>Profile</i> page in the <i>SSH Keys</i> section, select <b>generate and download an SSH keypair</b> button.</li> |
88 | | |
89 | | </ol> |
90 | | </td> |
91 | | <td> |
92 | | <img src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/profile_sshkeys_3_v4.png?format=raw" alt="Generate an SSH Key Pair" width="400" title="Generate an SSH Key Pair" /> </a> |
93 | | <br/> |
94 | | <b>Figure 2-2</b> <i>On the </i>Profile<i> page, select the "generate and download an SSH keypair" button.</i> |
95 | | </td> |
96 | | </tr> |
97 | | <tr> |
98 | | <td > |
99 | | <ol type='a' start='3'> |
100 | | <li>Enter the same passphrase twice, then press <b>Generate SSH private key</b>.</li> |
101 | | </ol> |
102 | | </td> |
103 | | <td> |
104 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/generate_sshkeys_1_v2.png?format=raw" alt="Generate an SSH Key Pair" width="400" title="Generate an SSH Key Pair" /> </a> |
105 | | <br/> |
106 | | <b>Figure 2-3</b> <i>Enter passphrase twice, then generate SSH private key.</i> |
107 | | </td> |
108 | | </tr> |
109 | | <tr> |
110 | | <td > |
111 | | <ol type='a' start='4'> |
112 | | <li>Now, press the <b>Download Private Key</b> button</li> |
113 | | <li><b>If you are using a command line based ssh client</b>, open a terminal and execute: |
114 | | <pre> |
115 | | $ mv ~/Downloads/id_geni_ssh_rsa ~/.ssh/. |
116 | | $ chmod 0600 ~/.ssh/id_geni_ssh_rsa |
117 | | $ ssh-add ~/.ssh/id_geni_ssh_rsa |
118 | | </pre> |
119 | | Later in the tutorial, this will allow you to log into your nodes securely without a password. </li> |
120 | | |
121 | | </ol> |
122 | | </td> |
123 | | <td> |
124 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIEducation/SampleAssignments/LabZero/Graphics/download_sshkeys_1_v2.png?format=raw" alt="Download an SSH Key Pair" width="400" title="Download an SSH Key Pair" /> </a> |
125 | | <br/> |
126 | | <b>Figure 2-4</b> <i>Download an SSH Key Pair.</i> |
127 | | </td> |
128 | | |
129 | | </tr> |
130 | | </table> |
131 | | }}} |
132 | | |
133 | | |
134 | | |