19 Commits
Author SHA1 Message Date
chrisandClaude Opus 5.5 67c1086e2c Role common: add task sftpd.yml for chrooted SFTP access.
- group 'sftpusers' (GID 200 or next free), sshd drop-in
  /etc/ssh/sshd_config.d/90-sshd-SFTP.conf (Match Group, ChrootDirectory %h,
  ForceCommand internal-sftp), PasswordAuthentication via
  'sftp_password_authentication'
- new sftp users (UID 201 or next free) with root owned chroot home,
  upload dir and root owned authorized_keys (always created)
- existing users (e.g. www-data, suexec users) can be added to the group;
  chroot requirements of their home are checked, not changed
- passwords: update_password defaults to 'always', password of users with
  shell access is never changed
- controlled by 'chrooted_sftpd_present' (default: false), tag 'sftpd'
- add empty sftpd section to all host_vars *-common.yml

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 10:42:42 +01:00
chris ca02faf748 fix(sshd_config.j2): update condition for SFTP subsystem configuration to use common variable 2026-07-30 01:38:49 +02:00
chris 19617c6a5c update.. 2024-12-04 17:57:55 +01:00
chris c771ba2095 update.. 2024-10-19 10:18:05 +02:00
chris e3bc531aea update .. 2024-07-13 23:31:55 +02:00
chris eedc62c8a3 update.. 2024-05-03 14:06:06 +02:00
chris 762e38586e update.. 2024-01-25 11:19:46 +01:00
chris 4a3e23adac update.. 2023-08-03 14:29:11 +02:00
chris a143f30206 update.. 2022-11-25 01:07:36 +01:00
chris 707e261c13 Update.. 2021-08-23 21:32:31 +02:00
chris ebc9d1303e update.. 2021-07-08 18:56:07 +02:00
chris 3590a15d4a update.. 2020-10-28 02:49:30 +01:00
chris 2c095f1674 Update.. 2020-10-28 02:38:09 +01:00
chris 48a531ea3e Update .. 2020-06-06 22:41:08 +02:00
chris e2a215b393 udate.. 2020-05-30 20:04:30 +02:00
chris 1b5acce3c2 Update.. 2020-03-21 17:48:12 +01:00
chris 1f74af299f Adjust sshd_config.j2: Cooment deprecated options (in case of debian buster and above). 2019-07-06 16:25:06 +02:00
chris 505cdbf120 Reduce output from ansible playbooks. Some minor changes. 2019-07-03 04:14:14 +02:00
chris 21fcd86115 Initial commit 2019-06-28 02:28:50 +02:00