All of my sftp accounts had a default shell of /bin/nologin
All of a sudden they are failing with exit code 1. I can change the default shell to /bin/bash and it works fine, but not a good solution.
Any ideas on what I am missing?
Thanks!
Jim
Is there anything in the ~.bashrc of the user you're trying to SFTP with?
This is a common gotcha, as any echo statements break SFTP / rsync, SCP
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With