SecureBlackbox 16: Troubleshooting: Command Rejected Due to SFTP Proxy Policy Settings: SSH_FXP_...

Note: This article applies only to SecureBlackbox Legacy. For future development please consider using the latest version.

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 does not recognize the requested SFTP protocol version. The solution is to enable just SFTP 3 using the 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 the user account's home folder. The solution is to use the RequestAbsolutePath("/") method before performing file operations.

We appreciate your feedback.  If you have any questions, comments, or suggestions about this article please contact our support team at kb@nsoftware.com.