From da96f47107636985a5dd4250dfb2f5358073bc56 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 12 Nov 2026 01:21:34 +0000 Subject: README: explain that extraOptions are separate arguments --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ab9f4a6..f4c0187 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,8 @@ will be obtained by ssh from its configuration files. If the `target` attribute is an attribute set, then it can specify the attributes `extraOptions`, `host`, `path`, `port`, `sudo`, and `user`. The `extraOptions` is a list of strings that get passed to ssh as additional -arguments. The `sudo` attribute is a boolean and if set to true, then it's +arguments, one argument per string, so an option and its value are separate +strings, e.g. `[ "-i" "/path/to/key" ]`. The `sudo` attribute is a boolean and if set to true, then it's possible to to deploy to targets that disallow sshing in as root, but allow (preferably passwordless) sudo. Example: -- cgit v1.3.1