3

Is it possible to setup an upload-only SFTP server using OpenSSH.

From the manpage (man 8 sftp-server) I found the options to blacklist and whitelist requests. But when I tried a get option in SFTP the logs showed OPEN request with flags READ.

I know that I can't disable OPEN as it is required for writing as well.

Is there an option to disable the FLAGS or any other option to disable downloads.

1 Answer 1

2

Blacklist the read request.


get is not SFTP protocol request. That's OpenSSH sftp client command that internally uses open, read and close requests.

1
  • 1
    That worked. Thank you so much.
    – Ranjandas
    May 13, 2020 at 5:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .