You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will also add `-f` option to specify a filename in which to output our new user's private RSA key. We will need this to authenticate using the `knife` management command later. In the end, the command translates to:
140
+
We will also add `-f` option to specify a `FILENAME` in which to output our new user's private RSA key. We will need this to authenticate using the `knife` management command later. In the end, the command translates to:
141
141
142
142
```
143
143
chef-server-ctl user-create testuser test user [email protected] pwdexample -f testuser.pem
144
144
```
145
145
2. Launch the `chef-server-ctl` with the `org-create` subcommand:
For our example, we will create an organization with the following information:
151
-
-**Short Name** (refers to the organization within Chef): scaleway
152
-
-**Long Name** (name of the organization): Scaleway, Inc.
153
-
-**Association User** (username that has access to administer the organization): testuser
154
-
-**Filename:** scaleway-file.pem
151
+
152
+
-`SHORT_NAME` - Refers to the organization within Chef. In this example we use `scaleway`
153
+
-`LONG_NAME` - The name of the organization. In this example, `Scaleway, Inc`
154
+
-`ADMIN_USERNAME` - The username of a user with administration rights on the organization. In this example, `testuser`
155
+
-`FILENAME` - `scaleway-file.pem`
155
156
156
157
Again, we will add the `-f` flag to specify the private key file location. The key that will be created is used to validate new clients as part of the organization until they can get their own unique client key. In the end, the command translates to:
157
158
@@ -218,18 +219,18 @@ The method that you use to connect to the Chef server will determine how to down
218
219
219
220
#### Option 1: (Recommended) Downloading keys when connecting to a Chef server using SSH keys
220
221
221
-
1. Leave your workstation
222
+
1. Leave your workstation.
222
223
```
223
224
exit
224
225
```
225
226
226
-
The next steps should be carried out from the machine that holds the private SSH key needed to connect to your Chef server.
227
+
The next steps should be carried out from the machine that holds the private SSH key needed to connect to your Chef server.
227
228
2. Add the SSH key you use to connect to the Chef server to an SSH agent:
228
229
```
229
230
eval $(ssh-agent)
230
231
```
231
232
232
-
which should start the agent and return something similar to
233
+
Which should start the agent and return something similar to:
0 commit comments