Getting an error "e;Command rejected due to sftp proxy policy settings: SSH_FXP_..."e; . What's this?

This error is often produced by the server which identifies itself as Maveric_SSHD.

Case 1. Command rejected due to sftp proxy policy settings: SSH_FXP_INIT.

This happens when the server doesn't recognize the requested SFTP protocol version. The solution is to enable just SFTP 3 using Versions property of the SFTP component.

Case 2. Command rejected due to sftp proxy policy settings: SSH_FXP_OPEN

This happens because the server is misconfigured and defaults to the directory outside of user account's home folder. Solution is to use RequestAbsolutePath("/") method before performing file operations.

Ready to get started?

Learn more about SecureBlackbox or download a free trial.

Download Now