openssh-server

openssh-server

Docker 应用程序 from djismgaming's Repository

概述

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

运行时参数

网络
bridge
外壳
bash
特权
false

模板配置

SSH PortPorttcp
目标
2222
默认值
2222
价值
2222
PUIDVariable
默认值
99
价值
99
PGIDVariable
默认值
100
价值
100
Public KeyVariable

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

目标
PUBLIC_KEY
Public Key FileVariable

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

目标
PUBLIC_KEY_FILE
User NameVariable

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

目标
USER_NAME
价值
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.

目标
SUDO_ACCESS
默认值
true|false
价值
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.

目标
PASSWORD_ACCESS
默认值
true|false
价值
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.

目标
USER_PASSWORD
User Password FileVariable

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

目标
USER_PASSWORD_FILE
AppData Config PathPathrw

Container Path: /config

目标
/config
默认值
/mnt/user/appdata/openssh-server
价值
/mnt/user/appdata/openssh-server

下载统计数据

27,623,720
下载总数
258,349
本月
342,575
平均每月

长期下载总量

加载图表...

详细信息

存储库
linuxserver/openssh-server
最后更新2026-05-03
初见2022-07-23

在Unraid 上运行 openssh-server 。

openssh-server 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。