From fd3335e40e3c938f1fbf53287e37aaf76b8c69df Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 22 Nov 2014 12:57:07 -0400 Subject: --via implemented --- doc/usage.mdwn | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'doc/usage.mdwn') diff --git a/doc/usage.mdwn b/doc/usage.mdwn index 42797049..7baba507 100644 --- a/doc/usage.mdwn +++ b/doc/usage.mdwn @@ -20,11 +20,18 @@ action as needed to satisfy the configured properties of the local host. # OPTIONS -* --spin hostname - - Causes propellor to automatically install itself on the specified host, - or if it's already installed there, push any updates. Propellor is then - run on the host, to satisfy its configured properties. +* --spin targethost [--via relayhost] + + Causes propellor to automatically install itself on the specified target + host, or if it's already installed there, push any updates. Propellor is + then run on the target host, to satisfy its configured properties. + + When run with --via, propellor sshes to the relay host and runs + `propellor --spin hostname` from there. This can be useful when + propellor is installing itself, since most of the data transfer + is done between relay host and target host. Note that propellor + uses ssh agent forwarding to make this work, and the relay host + sees any privdata belonging to the target host. * --add-key keyid -- cgit v1.2.3