If you get this error message while connecting to your server, it is most usually caused by the server not being able to run some process necessary to support your session. Possibilities are:
bash shell explicitly on SCP/Shell tab of Login dialog. Using SFTP protocol instead of SCP is another option./bin/sftp-server) or the binary is not present on your server. Your SSH server may also lack the SFTP subsystem.If you get this error message in a middle of the session, it is usually caused by some fatal error on server. The server error may possibly be initiated by error on client (WinSCP) side.
In both cases check log file of your server to see an actual reason, it closed connection for.
Site design by Black Gate