SFTP attempted from linux native client to Windows Tectia 6.4.5 server. Public key authentication succeeds, but gets disconnected the next second. Following are the errors shown, please help with possible causes. Error message in Linux client: Remote: failed to execute command 'sft-server-g3' Request for subsystem sftp failed on channel 0 Error message in Windows Server: 402, Disconnect Reason: Connection lost, local disconnect |
Well, the issue is resolved now. “Error: Command not found, Command: sft-server-g3” is shown at the because the SFTP user account used for the connection was not provided with read and execute permission over sft-server-g3 (available inside Tectia install directory). Once the user account was provided with Read and Execute, SFTP connection was successful. |