Skip to content

Commit 9b6c6b0

Browse files
committed
Added clarity
1 parent 73ad7f1 commit 9b6c6b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ AUTHORIZED\_KEYS|🚨 <b>Required to be set by you.</b> Content of your authoriz
6868
ALLOWED\_IPS|🚨 <b>Required to be set by you.</b> Content of allowed IP addresses (see below)|
6969

7070

71-
### 1. Set your `AUTHORIZED_KEYS` environment variable or provide a `$SSH_USER_HOME/.ssh/authorized_keys` file
71+
### 1. Set your `AUTHORIZED_KEYS` environment variable or provide a `/authorized_keys` file
7272
You can provide multiple keys by loading the contents of a file into an environment variable.
7373
```
7474
AUTHORIZED_KEYS="$(cat .ssh/my_many_ssh_public_keys_in_one_file.txt)"
7575
```
7676

77-
Or you can provide the `authorized_keys` file via a volume. Ensure the volume references matches the path of `$SSH_USER_HOME/.ssh/authorized_keys`.
77+
Or you can provide the `authorized_keys` file via a volume. Ensure the volume references matches the path of `/authorized_keys`. The image will automatically take the file from `/authorized_keys` and configure it for use with your selected user.
7878

7979
ℹ️ **NOTE:** If both a file and variable are provided, the image will respect the value of the **variable _over_ the file**.
8080

0 commit comments

Comments
 (0)