summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/system/login/user/node.tag/authorized-keys/node.def2
-rw-r--r--templates/system/login/user/node.tag/authorized-keys/node.tag/key-type/node.def (renamed from templates/system/login/user/node.tag/authorized-keys/node.tag/type/node.def)0
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/system/login/user/node.tag/authorized-keys/node.def b/templates/system/login/user/node.tag/authorized-keys/node.def
index 1587fa46..4ca232f8 100644
--- a/templates/system/login/user/node.tag/authorized-keys/node.def
+++ b/templates/system/login/user/node.tag/authorized-keys/node.def
@@ -4,6 +4,8 @@ help: Set public keys for authorized login
syntax:expression: pattern $VAR(@) "^[0-9A-Za-z+/=]*$" ; "Invalid public key not base-64"
+commit:expression: $VAR(key-type) != "" ; "key-type must be specified"
+
comp_help:
Public key of remote user allowed to login without password
The key must be encode as base-64 text string. The key is usually
diff --git a/templates/system/login/user/node.tag/authorized-keys/node.tag/type/node.def b/templates/system/login/user/node.tag/authorized-keys/node.tag/key-type/node.def
index 54482824..54482824 100644
--- a/templates/system/login/user/node.tag/authorized-keys/node.tag/type/node.def
+++ b/templates/system/login/user/node.tag/authorized-keys/node.tag/key-type/node.def