summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2020-09-09 15:12:53 +0100
committerSerge Schneider <serge@raspberrypi.com>2020-09-09 15:12:53 +0100
commitbc3970f9e397c495177ff346b1f359d51bc79540 (patch)
treea72b3e4b7058d0ebd3caad7f3913ff777668bbe4 /README.md
parentd3553f5ec44b01842fcfee8ea99392ee22bdefdf (diff)
parentc1a7dae113ce943abe8bf5d5ab36fb7aac829fd2 (diff)
Merge branch 'master' into arm64
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 29d8166..e7f224a 100644
--- a/README.md
+++ b/README.md
@@ -130,6 +130,18 @@ The following environment variables are supported:
Setting to `1` will enable ssh server for remote log in. Note that if you are using a common password such as the defaults there is a high risk of attackers taking over you Raspberry Pi.
+ * `PUBKEY_SSH_FIRST_USER` (Default: unset)
+
+ Setting this to a value will make that value the contents of the FIRST_USER_NAME's ~/.ssh/authorized_keys. Obviously the value should
+ therefore be a valid authorized_keys file. Note that this does not
+ automatically enable SSH.
+
+ * `PUBKEY_ONLY_SSH` (Default: `0`)
+
+ * Setting to `1` will disable password authentication for SSH and enable
+ public key authentication. Note that if SSH is not enabled this will take
+ effect when SSH becomes enabled.
+
* `STAGE_LIST` (Default: `stage*`)
If set, then instead of working through the numeric stages in order, this list will be followed. For example setting to `"stage0 stage1 mystage stage2"` will run the contents of `mystage` before stage2. Note that quotes are needed around the list. An absolute or relative path can be given for stages outside the pi-gen directory.