Add SFTP/SSH user
Go to file
Anthony d2870fd1d5 Ver0.3 2025-02-27 00:43:55 +08:00
scripts Revert "Optimize user creation and logging" 2023-11-03 01:26:02 +08:00
README.md Ver0.3 2025-02-27 00:43:55 +08:00
add-sftp.sh Fix error cannot create directory /home/sftpusers/ 2023-11-03 23:33:26 +08:00
manifest.jps Fixed PasswordAuthentication 2025-02-27 00:38:19 +08:00

README.md

Version 0.3 Changelogs:

  • Fixed SSH configuration handling to prevent duplicate Match User entries
  • Implemented idempotent sshd_config modification using pattern matching and deduplication
  • Added atomic configuration updates with proper indentation handling
  • Removed redundant SSH service restarts while maintaining reliability
  • Added configuration validation before applying changes

Version 0.2 Changelogs:

  • Added a submitUnchanged property to allow submitting the 'Add User' form even if the settings haven't been changed.
  • Changed required: true to required: false for the 'Accept User Creation' checkbox
  • Changed the return type to info to prevent storing the previous settings.
  • Added a user listing to the manageUserform.
  • Implemented the removal of a user's directory upon user deletion to maintain an accurate user listing.