57 | | |
58 | | The process of loading a common public SSH key has two steps... |
59 | | === A. Generate SSH Keypairs === |
60 | | To generate an SSH Key pair use [http://en.wikipedia.org/wiki/Ssh-keygen keygen]. |
61 | | 1. In a terminal run |
62 | | {{{ |
63 | | ssh-keygen |
64 | | }}} |
65 | | 2. Follow the instructions: |
66 | | * You can name your key anything you like, for this exercise name it `common-key` |
67 | | * Make sure to remember the passphrase you set. |
68 | | 3. Run `ls` to see the contents of your directory. There should be two files generated from the previous command: |
69 | | * `common-key`: This is the private key. You keep this to your self and maybe share it with the professor of the class and other admins of the project. |
70 | | * `common-key.pub`: This is the public key. This is the key you give to the students to load to their profile.[[BR]] |
71 | | {{{ |
72 | | #!html |
73 | | <table id="Table_03" border="0" cellpadding="5" cellspacing="0"> |
74 | | <tr> |
75 | | <td> |
76 | | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Symbols-Tips-icon.png?format=raw" width="30" height="30" alt="Tip"/> |
77 | | </td> |
78 | | <td> |
79 | | If you have too many files, try to filter the output to make it easier to find your keys. Try: |
80 | | <pre> |
81 | | ls comm* |
82 | | </pre> |
83 | | </td> |
84 | | </tr> |
85 | | </table> |
86 | | }}} |
87 | | |
88 | | '''''Action: Send an email to tutorials@geni.net with the public key you generated.''''' |
89 | | |
90 | | The next step in your classroom would be to send this public key to your students to load it in their profile; [wiki:HowTo/LoadPubKeyToPortal Instructions about how to do that]. |
91 | | |
92 | | === B. Access nodes === |
| 57 | === A. Access nodes === |
139 | | |
| 104 | |
| 105 | |
| 106 | |
| 107 | The process of loading a common public SSH key has two steps... |
| 108 | === B. Generate SSH Keypairs === |
| 109 | To generate an SSH Key pair use [http://en.wikipedia.org/wiki/Ssh-keygen keygen]. |
| 110 | 1. In a terminal run |
| 111 | {{{ |
| 112 | ssh-keygen |
| 113 | }}} |
| 114 | 2. Follow the instructions: |
| 115 | * You can name your key anything you like, for this exercise name it `common-key` |
| 116 | * Make sure to remember the passphrase you set. |
| 117 | 3. Run `ls` to see the contents of your directory. There should be two files generated from the previous command: |
| 118 | * `common-key`: This is the private key. You keep this to your self and maybe share it with the professor of the class and other admins of the project. |
| 119 | * `common-key.pub`: This is the public key. This is the key you give to the students to load to their profile.[[BR]] |
| 120 | {{{ |
| 121 | #!html |
| 122 | <table id="Table_03" border="0" cellpadding="5" cellspacing="0"> |
| 123 | <tr> |
| 124 | <td> |
| 125 | <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Symbols-Tips-icon.png?format=raw" width="30" height="30" alt="Tip"/> |
| 126 | </td> |
| 127 | <td> |
| 128 | If you have too many files, try to filter the output to make it easier to find your keys. Try: |
| 129 | <pre> |
| 130 | ls comm* |
| 131 | </pre> |
| 132 | </td> |
| 133 | </tr> |
| 134 | </table> |
| 135 | }}} |
| 136 | |
| 137 | '''''Action: Send an email to tutorials@geni.net with the public key you generated.''''' |
| 138 | |
| 139 | The next step in your classroom would be to send this public key to your students to load it in their profile; [wiki:HowTo/LoadPubKeyToPortal Instructions about how to do that]. |
| 140 | |
| 141 | |