Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am setting up a custom SSH server using Apache SSHD which interacts with web services, and depending on the web service response the file will be stored or discarded.

Following is my use case:

All users have some limits to upload file into the system.

If user tries to upload a file, i am hitting web service to find the user limits under SSH_FXP_WRITE [6]. If limit exceeds, i am sending SSH_FX_FAILURE and my custom message back to the clients.

The clients are discarding the custom message that i send and just showing the following error:

Error:  error while writing: failure
Error:  File transfer failed

Is there anything that I need to configure at client side or is there any specific message that i need to send so that clients will start displaying the messages.

share|improve this question
add comment

1 Answer

Do you have any VPN connection that is open concurrently? We found that to be the case with ours. Disconnect the VPN connection and try again.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.