Is there anyway to set the password to be automatically trimmed on space at start/end when logging in via FTP?
I have found that a lot of my clients are having problems when copy/pasting the password.
VSFTPd is free software (licensed under GPL v2), so you can get the source and edit it yourself, to make the password-checking code white-space insensitive. Other than that, no, I'm not ware of any magic option to do that.
You can use a PAM module to filter user/password.
The PAM configuration for vsftp is into
Edit: I remember about