Just got done helping a user debug connection problems using FileZilla to connect over SFTP/SSH. I noticed, sadly not immediately, that the username he was using was being send with an extra space at the end and thus was an invalid user. I’m not sure there is a valid reason not to trim/strip whitespace from the beginning and ending of a username. But this is something to be aware of.