sftp-fail2ban

sftp-fail2ban

Aplicación Docker from bmartino1's Repository

Visión general

Easy to use SFTP (SSH File Transfer Protocol) server with OpenSSH and Fail2ban installed for extra hardening against brute force attacks. Forked from atmoz/sftp. Based on Debian Slim Image. *Shared Path is an example. You must replace the host path with the path to a folder to share AND change the user in the container path to the name of a user account configured in users.conf. See the GitHub page for more info: https://github.com/bmartino1/sftp2.

Argumentos en tiempo de ejecución

Red
bridge
Concha
bash
Privilegiado
false
Parámetros adicionales
--hostname sftp --cap-add=NET_ADMIN --cap-add=NET_RAW

Configuración de plantillas

SSH PortPorttcp

Docker bridge network set SSH/SFTP port

Objetivo
22
Por defecto
22
Valor
22
AdminDataPathrw

Default admin user's host folder/file access

Objetivo
/home/admin/sftp
Por defecto
/mnt/user/
Valor
/mnt/user/
AppDataPathrw

Docker data - this is needed to change the user.conf for multiple user accounts

Objetivo
/config
Por defecto
/mnt/user/appdata/sftp-fail2ban
Valor
/mnt/user/appdata/sftp-fail2ban
TimeZoneVariable
Objetivo
TZ
Valor
America/Chicago
AUTO_UPDATEVariable

true Runs /stage/updateapps.sh if present custom Runs /config/updateapps.sh if present false or empty skips updates

Por defecto
true
Valor
true
LOG_STREAMSVariable

auth,fail2ban,whois (comma-separated list for Docker stdout) Tail log streams.

Por defecto
auth,fail2ban,whois
Valor
auth,fail2ban
ADMIN_PASSVariable

CHANGE ME! Set the admin password!

Valor
password
PUIDVariable

User root

Por defecto
99
Valor
0
PGIDVariable

User root

Por defecto
100
Valor
0
ADMIN_USERVariable
Por defecto
admin
Valor
admin
DEBUG_TESTINGVariable

Preflight checks (makes sure Fail2ban and sshd will work) (writes to /config/debug when true), false by default

Por defecto
false
Valor
true
TAIL_LOGSVariable

T/F enable Docker log showing tail logs. This doesn't stop them from writing to the log folder.

Por defecto
true
Valor
true
CLEAR_LOGSVariable

At container restart, truncate logs in the log folder. This will move old logs within the log folder; no logs are removed.

Por defecto
false
Valor
true
F2B_CONFIG_MODEVariable

How to handle /config Fail2ban files # ===== Fail2Ban config wiring ===== # How /etc/fail2ban is populated from /config/fail2ban: # - symlink (source of truth = /config) # - overlay (defaults + then /config over) # - noclobber (defaults + non-clobber copy from /config) # - replace (use /config only)

Por defecto
noclobber
Valor
symlink

Descargar estadísticas

1,154
Descargas totales

Detalles

Repositorio
bmmbmm01/sftp2:latest
Última actualización2026-03-20
Visto por primera vez2025-10-16

Ejecute sftp-fail2ban en Unraid.

sftp-fail2ban se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.