confd: Enable remote SSH access via IPv6 in {factory,failure}-config

The default was set to only accept connections from localhost when
connecting via IPv6. This was not caught in testing since the
test-config accepts connections from all hosts (::).

Accept connections from all hosts in all builtin configs. Inherit
test-config's service definition from factory-config, since we want
testing to be done as close as possible to what are users are running.
This commit is contained in:
Tobias Waldekranz
2025-01-17 14:33:41 +01:00
parent 41f3fe15a6
commit be1b7cdf45
3 changed files with 3 additions and 29 deletions
@@ -15,7 +15,7 @@
},
{
"name": "ipv6",
"address": "::1",
"address": "::",
"port": 22
}
],
@@ -21,7 +21,7 @@
},
{
"name": "ipv6",
"address": "::1",
"address": "::",
"port": 22
}
],
@@ -1,27 +0,0 @@
{
"infix-services:mdns": {
"enabled": true
},
"infix-services:web": {
"enabled": true,
"restconf": {
"enabled": true
}
},
"infix-services:ssh": {
"enabled": true,
"listen": [
{
"name": "ipv4",
"address": "0.0.0.0",
"port": 22
},
{
"name": "ipv6",
"address": "::",
"port": 22
}
],
"hostkey": [ "genkey" ]
}
}
+1
View File
@@ -0,0 +1 @@
../factory.d/10-infix-services.json