Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to pass a custom error message to the sftp client when the user exceeds the soft or at least the hard quota limit?

My SFTP Client (WinSCP) shows me an error message in which it states that the server should provide an error description - which it isn´t doing.

Link to WinSCP error message description:

Searching online didn´t provide me the answer if it is possible at all - or how it could be accomplished.

Thanks for your answers!

share|improve this question

If you are using OpenSSH as the error suggests, there's no way to get customized quota messages.

Of course except for modifying the OpenSSH SFTP server source code and recompiling. It's open source after all :)

share|improve this answer

You must log in to answer this question.

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