openssh-server

openssh-server

Docker app from djismgaming's Repository

Overview

Added as the linuxserver one is not appearing in the Custom Applications at this moment. Openssh-server is a sandboxed environment that allows ssh access without giving keys to the entire server. 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. The users only have access to the folders mapped and the processes running inside this container. Application setup: see https://github.com/linuxserver/docker-openssh-server#application-setup

Runtime arguments

Network
bridge
Shell
bash
Privileged
false

Template configuration

SSH PortPorttcp
Target
2222
Default
2222
Value
2222
PUIDVariable
Default
99
Value
99
PGIDVariable
Default
100
Value
100
Public KeyVariable

Optional ssh public key, which will automatically be added to authorized_keys.

Target
PUBLIC_KEY
Public Key FileVariable

Optionally specify a file containing the public key (works with docker secrets).

Target
PUBLIC_KEY_FILE
User NameVariable

Optionally specify a user name (Default:linuxserver.io)

Target
USER_NAME
Value
admin
Sudo AccessVariable

Set to true to allow USER_NAME, the ssh user, sudo access. Without USER_PASSWORD set, this will allow passwordless sudo access.

Target
SUDO_ACCESS
Default
true|false
Value
true
Password AccessVariable

Set to true to allow user/password ssh access. You will want to set USER_PASSWORD or USER_PASSWORD_FILE as well.

Target
PASSWORD_ACCESS
Default
true|false
Value
false
User PasswordVariable

Optionally set a sudo password for USER_NAME, the ssh user. If this or USER_PASSWORD_FILE are not set but SUDO_ACCESS is set to true, the user will have passwordless sudo access.

Target
USER_PASSWORD
User Password FileVariable

Optionally specify a file that contains the password. This setting supersedes the USER_PASSWORD option (works with docker secrets).

Target
USER_PASSWORD_FILE
AppData Config PathPathrw

Container Path: /config

Target
/config
Default
/mnt/user/appdata/openssh-server
Value
/mnt/user/appdata/openssh-server

Download Statistics

27,623,720
Total Downloads
258,349
This Month
342,575
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
linuxserver/openssh-server
Last Updated2026-05-03
First Seen2022-07-23

Run openssh-server on Unraid.

openssh-server is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.