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
{{ message }}
Repository navigation
Commit b69def8
Browse filesBrowse the repository at this point in the historyBrowse files
init.sh has always written .os_root_authorized_keys[] into
/root/.ssh/authorized_keys, but the key was in no schema and no reference, so
the only way to find it was to read init.sh.
Key-based root login works without os_root_password; without either, the root
account stays locked. Reference regenerated.
Signed-off-by: Simon Walz <contact@simonwalz.de>
|**os\_root\_password**|`string`|Root Password for the operating system: local login or SSH - hash or password<br/>||
38
-
|**os\_ssh\_server**|`boolean`|Activate SSH server for the operating system<br/>||
38
+
|[**os\_root\_authorized\_keys**](#os_root_authorized_keys)|`string[]`|SSH public keys accepted for root login, written to /root/.ssh/authorized_keys on every boot. Key-based login works even without 'os_root_password'; without either, the root account is locked<br/>||
39
+
|**os\_ssh\_server**|`boolean`|Activate SSH server for the operating system, on port 4222<br/>||
39
40
|**console\_expert\_password**|`string`|Password for the expert menu of the console interface<br/>||
40
41
|**console\_password**|`string`|Password for the console interface - hash or password<br/>||
41
42
|**product\_name**|`string`|Product name shown in the boot menu and the installer, and used as the first part of the built artefact's file name (default: 'CuOS', or 'CuOS IaC' when the init image is a cuos-iac image)<br/>||
@@ -91,10 +92,21 @@ List of network interface configurations
91
92
]
92
93
```
93
94
95
+
96
+
<aname="os_root_authorized_keys"></a>
97
+
## os\_root\_authorized\_keys\[\]: array
98
+
99
+
SSH public keys accepted for root login, written to /root/.ssh/authorized_keys on every boot. Key-based login works even without 'os_root_password'; without either, the root account is locked
100
+
101
+
102
+
**Items**
103
+
104
+
**Item Type:**`string`
105
+
94
106
---
95
107
96
108
*This page is generated from [`system/cuos/system-schema.json`](../../system/cuos/system-schema.json),
97
109
the schema CuOS validates `system.json` against at boot. Edit the schema, then run
Copy file name to clipboardExpand all lines: system/cuos/system-schema.json
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -205,9 +205,16 @@
205
205
"type": "string",
206
206
"description": "Root Password for the operating system: local login or SSH - hash or password"
207
207
},
208
+
"os_root_authorized_keys": {
209
+
"type": "array",
210
+
"description": "SSH public keys accepted for root login, written to /root/.ssh/authorized_keys on every boot. Key-based login works even without 'os_root_password'; without either, the root account is locked",
211
+
"items": {
212
+
"type": "string"
213
+
}
214
+
},
208
215
"os_ssh_server": {
209
216
"type": "boolean",
210
-
"description": "Activate SSH server for the operating system"
217
+
"description": "Activate SSH server for the operating system, on port 4222"
0 commit comments