aboutsummaryrefslogtreecommitdiffstats
path: root/openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment
diff options
context:
space:
mode:
Diffstat (limited to 'openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment')
-rw-r--r--openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md b/openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md
new file mode 100644
index 0000000..af26016
--- /dev/null
+++ b/openspec/changes/fix-ssh-authorized-keys-spec/specs/developer-environment/spec.md
@@ -0,0 +1,12 @@
1## MODIFIED Requirements
2
3### Requirement: SSH access is enabled by default on NixOS hosts
4Every NixOS host built from this flake's shared system module SHALL have an SSH server enabled, with password authentication and root login disabled, and SHALL permit inbound SSH traffic through its firewall. The system SHALL also provision at least one authorized public key for the user, so that key-based authentication is actually reachable rather than merely configured.
5
6#### Scenario: SSH reachable with key-based auth only
7- **WHEN** a NixOS host is built from the shared system module
8- **THEN** the SSH service is enabled, password authentication and root login are disabled, and the firewall permits inbound connections on the SSH port
9
10#### Scenario: An authorized key is provisioned
11- **WHEN** a NixOS host is built from the shared system module
12- **THEN** the user account has at least one authorized public key configured, so a matching private key can actually authenticate over SSH