65 | | 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.) |
66 | | |
67 | | {{{ |
68 | | #!html |
69 | | <table border="0"> |
70 | | <tr> |
71 | | <td > |
72 | | <ol> |
73 | | <li>Once you are logged in, click on the <i>Profile</i> page.</li> |
74 | | <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> |
75 | | |
76 | | </ol> |
77 | | </td> |
78 | | <td> |
79 | | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/profile_sshkeys_3.png?format=raw" alt="Generate an SSH Key Pair" height="180" title="Generate an SSH Key Pair" /> </a> |
80 | | <br/> |
81 | | <b>Figure 2-1</b> <i>On the </i>Profile<i> page, select the "generate and download an SSH keypair" button.</i> |
82 | | </td> |
83 | | </tr> |
84 | | <tr> |
85 | | <td > |
86 | | <ol start='3'> |
87 | | <li>Enter the same passphrase twice, then press <b>Generate SSH private key</b>.</li> |
88 | | </ol> |
89 | | </td> |
90 | | <td> |
91 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/generate_sshkeys_1.png?format=raw" alt="Generate an SSH Key Pair" height="230" title="Generate an SSH Key Pair" /> </a> |
92 | | <br/> |
93 | | <b>Figure 2-2</b> <i>Enter passphrase twice, then generate SSH private key.</i> |
94 | | </td> |
95 | | </tr> |
96 | | <tr> |
97 | | <td > |
98 | | <ol start='4'> |
99 | | <li>Now, press the <b>Download Private Key</b> button</li> |
100 | | <li>Open a terminal and execute: |
101 | | <pre> |
102 | | $ mv ~/Downloads/id_geni_ssh_rsa ~/.ssh/. |
103 | | $ chmod 600 ~/.ssh/id_geni_ssh_rsa |
104 | | $ ssh-add ~/.ssh/id_geni_ssh_rsa |
105 | | </pre> |
106 | | Later in the tutorial, this will allow you to log into your nodes securely without a password. </li> |
107 | | |
108 | | </ol> |
109 | | </td> |
110 | | <td> |
111 | | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/download_sshkeys_1.png?format=raw" alt="Download an SSH Key Pair" height="280" title="Download an SSH Key Pair" /> </a> |
112 | | <br/> |
113 | | <b>Figure 2-3</b> <i>Download an SSH Key Pair.</i> |
114 | | </td> |
115 | | |
116 | | </tr> |
117 | | </table> |
118 | | }}} |
119 | | |
120 | | == 3. Join a Project == |
| 64 | == 2. Join a Project == |
| 96 | |
| 97 | == 3. Generate and Download SSH Keypair == |
| 98 | |
| 99 | 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.) |
| 100 | |
| 101 | {{{ |
| 102 | #!html |
| 103 | <table border="0"> |
| 104 | <tr> |
| 105 | <td > |
| 106 | <ol> |
| 107 | <li>Once you are logged in, click on the <i>Profile</i> page.</li> |
| 108 | <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> |
| 109 | |
| 110 | </ol> |
| 111 | </td> |
| 112 | <td> |
| 113 | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/profile_sshkeys_3.png?format=raw" alt="Generate an SSH Key Pair" height="180" title="Generate an SSH Key Pair" /> </a> |
| 114 | <br/> |
| 115 | <b>Figure 3-1</b> <i>On the </i>Profile<i> page, select the "generate and download an SSH keypair" button.</i> |
| 116 | </td> |
| 117 | </tr> |
| 118 | <tr> |
| 119 | <td > |
| 120 | <ol start='3'> |
| 121 | <li>Enter the same passphrase twice, then press <b>Generate SSH private key</b>.</li> |
| 122 | </ol> |
| 123 | </td> |
| 124 | <td> |
| 125 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/generate_sshkeys_1.png?format=raw" alt="Generate an SSH Key Pair" height="230" title="Generate an SSH Key Pair" /> </a> |
| 126 | <br/> |
| 127 | <b>Figure 3-2</b> <i>Enter passphrase twice, then generate SSH private key.</i> |
| 128 | </td> |
| 129 | </tr> |
| 130 | <tr> |
| 131 | <td > |
| 132 | <ol start='4'> |
| 133 | <li>Now, press the <b>Download Private Key</b> button</li> |
| 134 | <li>Open a terminal and execute: |
| 135 | <pre> |
| 136 | $ mv ~/Downloads/id_geni_ssh_rsa ~/.ssh/. |
| 137 | $ chmod 600 ~/.ssh/id_geni_ssh_rsa |
| 138 | $ ssh-add ~/.ssh/id_geni_ssh_rsa |
| 139 | </pre> |
| 140 | Later in the tutorial, this will allow you to log into your nodes securely without a password. </li> |
| 141 | |
| 142 | </ol> |
| 143 | </td> |
| 144 | <td> |
| 145 | <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/download_sshkeys_1.png?format=raw" alt="Download an SSH Key Pair" height="280" title="Download an SSH Key Pair" /> </a> |
| 146 | <br/> |
| 147 | <b>Figure 3-3</b> <i>Download an SSH Key Pair.</i> |
| 148 | </td> |
| 149 | |
| 150 | </tr> |
| 151 | </table> |
| 152 | }}} |
| 153 | |
| 154 | |