summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2013-01-23 17:59:46 +0100
committerTimo Weingärtner <timo@tiwe.de>2013-01-23 18:36:21 +0100
commit17e1ec141ebea9c949dd5bc1933c9a1e057d5a16 (patch)
tree041beda52f5e8b2e1327469371eb9d256f4fd526
parent1e1e7fecbd162d7e763fd553994ba90298101659 (diff)
downloadopenssh-known-hosts-17e1ec141ebea9c949dd5bc1933c9a1e057d5a16.tar.gz
document alternate URL syntaxes and how to use ssh-based transfer with an identity
-rw-r--r--examples/rsync5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/rsync b/examples/rsync
index f8d9861..1d9fd4c 100644
--- a/examples/rsync
+++ b/examples/rsync
@@ -3,6 +3,11 @@ PLUGIN=rsync
EXIT_IGNORE=10
URL='rsync://rsync.example.com/pub/known_hosts'
+# or:
+#URL='rsync.example.com::pub/known_hosts'
+# or (with a chicken and egg problem regarding the server's public hostkey):
+#URL='ssh.example.com:/path/to/known_hosts'
+#RSYNC_RSH='ssh -i /path/to/identity'
# optional:
SIGURL='rsync://rsync.example.com/pub/known_hosts.sig'