Add SFTP/SSH user
Go to file
Anthony 4cfaed134a Fix username form settings 2025-04-08 01:25:47 +08:00
scripts Revert "Optimize user creation and logging" 2023-11-03 01:26:02 +08:00
README.md Updated readme 2025-04-08 01:08:03 +08:00
add-sftp.sh Update username creation 2025-04-08 01:00:14 +08:00
manifest.jps Fix username form settings 2025-04-08 01:25:47 +08:00

README.md

Version 0.4 Changelogs:

  • Replaced auto-generated usernames with user-defined usernames
  • Added username validation (3-32 characters, alphanumeric + underscore only)
  • Implemented duplicate username checking
  • Enhanced error handling for invalid username formats
  • Added user-friendly error messages for username validation
  • Maintained backward compatibility with existing user management

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.