mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-02 05:43:02 +02:00
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:
@@ -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" ]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
../factory.d/10-infix-services.json
|
||||
Reference in New Issue
Block a user