document "allowed_hosts" function
authorMartin Zobel-Helas <zobel@debian.org>
Sun, 31 Jan 2010 10:49:33 +0000 (11:49 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Sun, 31 Jan 2010 10:49:33 +0000 (11:49 +0100)
html/doc-mail.wml

index e711989..6ad70d7 100644 (file)
@@ -108,6 +108,17 @@ which will set the authentication key to the identity you are using.
 
 Multiple keys per user are supported, but they must all be sent at once.
 
+Keys can be exported to specific machines only be prepending
+<b>allowed_hosts=$fqdn,$fqdn2</b> to the specific key. The allowed machines
+must only be separeted by a comma.
+
+<i>Example:</i>
+<pre>
+# cat .ssh/debian-machines.pub
+allowed_hosts=ravel.debian.org,gluck.debian.org ssh-rsa AAAAB3Nz..mOX/JQ== user@machine
+ssh-rsa AAAAB3Nz..uD0khQ== user@machine
+</pre>
+
 <li>RBL, RHSBL, and whitelists can only be updated via the mail gateway.  Like
 DNS and ssh keys, any list specified must be specified in its enterity.  The format is:
 <b>listtype</b> <b>dns.domain.of.rbl/IP to whitelist</b> where listtype is one of mailRBL,