Is there anyway to create a sandboxed SFTP server to interact with an outdated document scanner?

I have a ADS-27000w and it only seems to work with rss keys to upload documents to an SFTP server.

I did update the firmware. I would prefer not to lessen the security on my server pc just for this scanner.

Is there a simple way to run an SFTP server so I can upload documents securely to it?

Thank you.

2 points · 1 comments · view on lemmy.world

1 Comments

bionade24@kbin.social · 1 pts · 2y

You could run a 2nd sshd service with systemd where you use namespacing, chroot & drop most capabilities. (Basically a container) You can also change the default logindir of sftp. Look at https://www.redhat.com/sysadmin/mastering-systemd and man sftp-server.