paperless-ng icon indicating copy to clipboard operation
paperless-ng copied to clipboard

SFTP with Brother Scanners

Open foto-andreas opened this issue 2 years ago • 3 comments

A quick note on Using Brother Scanners (e.g. ADS-1700W) with SFTP connection to Ubuntu server. To get the SFTP connection working you habe to add the following lines to /etc/ssh/sshd_conf

#Legacy changes for Brother ADS-1700W
KexAlgorithms +diffie-hellman-group1-sha1
Ciphers +aes128-cbc

You find infos regarding this in /var/log/auth.log

Cheers Andreas

foto-andreas avatar Dec 31 '21 07:12 foto-andreas

This might be specific to the 1700. I didn't have to do this for my 2800.

fhriley avatar Jan 22 '22 17:01 fhriley

My 2400N works fine without this line

malloy139 avatar Jan 26 '22 21:01 malloy139

If using shared keys the "server key" should be the actual server key, not the user on the server. This is NOT from ~/.ssh/id_rsa.pub, it is located in /etc/ssh/ssh_host_rsa_key.pub (on Ubuntu). Download that, upload it to the Brother scanner and it will work with the sshd_config changes mentioned above.

sononaco avatar Feb 01 '22 15:02 sononaco