You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://blog.linuxserver.io"all the things you can do with our containers including How-To guides, opinions and much more!")
4
-
[](https://discord.gg/YWrKVTn"realtime support / chat with the community and the team.")
5
-
[](https://discourse.linuxserver.io"post on our community forum.")
6
-
[](https://fleet.linuxserver.io"an online web interface which displays all of our maintained images.")
7
-
[](https://github.com/linuxserver"view the source for all of our repositories.")
8
-
[](https://opencollective.com/linuxserver"please consider helping us by either donating or contributing to our budget")
3
+
[](https://blog.linuxserver.io"all the things you can do with our containers including How-To guides, opinions and much more!")
4
+
[](https://discord.gg/YWrKVTn"realtime support / chat with the community and the team.")
5
+
[](https://discourse.linuxserver.io"post on our community forum.")
6
+
[](https://fleet.linuxserver.io"an online web interface which displays all of our maintained images.")
7
+
[](https://github.com/linuxserver"view the source for all of our repositories.")
8
+
[](https://opencollective.com/linuxserver"please consider helping us by either donating or contributing to our budget")
9
9
10
10
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
[](https://microbadger.com/images/linuxserver/openssh-server"Get your own version badge on microbadger.com")
[](https://microbadger.com/images/linuxserver/openssh-server"Get your own version badge on microbadger.com")
[Openssh-server](https://www.openssh.com/) is a sandboxed environment that allows ssh access without giving keys to the entire server.
40
39
Giving ssh access via private key often means giving full access to the server. This container creates a limited and sandboxed environment that others can ssh into.
@@ -136,7 +135,7 @@ Container images are configured using parameters passed at runtime (such as thos
136
135
137
136
## Environment variables from files (Docker secrets)
138
137
139
-
You can set any environment variable from a file by using a special prepend `FILE__`.
138
+
You can set any environment variable from a file by using a special prepend `FILE__`.
140
139
141
140
As an example:
142
141
@@ -146,6 +145,11 @@ As an example:
146
145
147
146
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
148
147
148
+
## Umask for running applications
149
+
150
+
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.
151
+
Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.
152
+
149
153
## User / Group Identifiers
150
154
151
155
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
@@ -197,7 +201,7 @@ The keys generated by this script are only displayed on your console output, so
197
201
198
202
199
203
## Docker Mods
200
-
[](https://mods.linuxserver.io/?mod=openssh-server"view available mods for this container.")
204
+
[](https://mods.linuxserver.io/?mod=openssh-server"view available mods for this container.")
201
205
202
206
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) can be accessed via the dynamic badge above.
0 commit comments