commit 1a1aa69b40186ec82dbbf6a67c99bbe1de889551
parent 5e541cad2b1651b6bf4cc47238cb89ad065bb341
Author: tg(x) <*@tg-x.net>
Date: Fri, 4 Feb 2011 13:33:44 +0100
doc update
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org
@@ -99,10 +99,12 @@ The following SSH commands can be used:
- =update-record <filename> <record>=: updates the IP address of the first matched
record in the given file to the SSH client's IP address
- : % ssh ns.example.net update-record foo IN A
+ : % ssh ns.example.net update-record example.net somehost IN A
- =list-keys=: list added ssh keys
: % ssh ns.example.net list-keys
- =add-key=: add a new ssh key
: % ssh ns.example.net add-key `cat id_rsa.pub`
+ or only allow one specific command:
+ : % ssh ns.example.net add-key 'command="update-record example.net somehost IN A"' `cat id_rsa.pub`
- =del-key=: delete an ssh key from the config
: % ssh ns.example.net del-key user@somewhere