I'm get this error when trying to connect through filezilla with sftp:on server:fatal: Write failed: Broken pipe [preauth]on filezilla:Received unexpected end-of-file from SFTP serverI previously could connect to it, now I can't and I've no idea why.
Can't login into sftp
freebsd
Try SSHing to the box with the same account and double check if .profile or .bash_profile or any other file doesn't write any output on the screen. Once I had this weird problem that because a script wrote output to the screen, I couldn't sftp to the box.