summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-04 15:32:42 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-04 15:42:35 -0800
commit103371d47c0d3ea4c28901810e11127de3855d5d (patch)
tree709027d429f428f55412027b9408a43153eee371 /templates
parentebe3578d23a80533f6db1247c8d98f37485256fc (diff)
downloadvyatta-cfg-system-103371d47c0d3ea4c28901810e11127de3855d5d.tar.gz
vyatta-cfg-system-103371d47c0d3ea4c28901810e11127de3855d5d.zip
Rearrange the public-key configuration schema
New syntax: system login user vyatta authentication public-key user@remote type ssh-rsa
Diffstat (limited to 'templates')
-rw-r--r--templates/system/login/user/node.tag/authorized-keys/node.def16
-rw-r--r--templates/system/login/user/node.tag/authorized-keys/node.tag/description/node.def2
-rw-r--r--templates/system/login/user/node.tag/authorized-keys/node.tag/key-type/node.def4
3 files changed, 0 insertions, 22 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
deleted file mode 100644
index 4ca232f8..00000000
--- a/templates/system/login/user/node.tag/authorized-keys/node.def
+++ /dev/null
@@ -1,16 +0,0 @@
-tag:
-type: txt
-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
- several hundred bytes long (because of the size of the public key
- encoding). You don't want to type them in; instead, use the
- script ssh-load-key to set them.
-
-
diff --git a/templates/system/login/user/node.tag/authorized-keys/node.tag/description/node.def b/templates/system/login/user/node.tag/authorized-keys/node.tag/description/node.def
deleted file mode 100644
index 7c81ff12..00000000
--- a/templates/system/login/user/node.tag/authorized-keys/node.tag/description/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-type: txt
-help: Ssh public-key description (usually user@host)
diff --git a/templates/system/login/user/node.tag/authorized-keys/node.tag/key-type/node.def b/templates/system/login/user/node.tag/authorized-keys/node.tag/key-type/node.def
deleted file mode 100644
index 54482824..00000000
--- a/templates/system/login/user/node.tag/authorized-keys/node.tag/key-type/node.def
+++ /dev/null
@@ -1,4 +0,0 @@
-type: txt
-help: Public key type
-allowed: echo "ssh-dsa ssh-rsa"
-syntax:expression: $VAR(@) in "ssh-rsa", "ssh-dsa"