Differences

This shows you the differences between the selected revisions of the page.

2009-03-04 2009-03-13
exit status 0 (martin) Server unexpectedly closed network connection in a middle of a session (martin)
Line 84: Line 84:
    * Some shells do not work with non-interactive sessions. The same it true for some configurations (or profiles used) for otherwise working shells. This commonly exhibits with [[protocols#scp|SCP protocol]] with associated error message [[messages#startup_message|"Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended)."]] Try to force ''bash'' shell explicitly on [[ui_login_scp|SCP/Shell tab]] of Login dialog. Using [[protocols#sftp|SFTP protocol]] instead of SCP is another option.     * Some shells do not work with non-interactive sessions. The same it true for some configurations (or profiles used) for otherwise working shells. This commonly exhibits with [[protocols#scp|SCP protocol]] with associated error message [[messages#startup_message|"Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended)."]] Try to force ''bash'' shell explicitly on [[ui_login_scp|SCP/Shell tab]] of Login dialog. Using [[protocols#sftp|SFTP protocol]] instead of SCP is another option.
  * SFTP server. Your account may not be able to start SFTP server binary (e.g. ''/bin/sftp-server'') or the binary is not present on your server. Your SSH server may also lack the SFTP subsystem.   * SFTP server. Your account may not be able to start SFTP server binary (e.g. ''/bin/sftp-server'') or the binary is not present on your server. Your SSH server may also lack the SFTP subsystem.
-Check log file of your server to see an actual reason, it closed connection for. 
 +If you get this error message in a middle of the session, it is usually caused by soem 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.
===== [[exit_status_1]] Connection has been unexpectedly closed. Server sent command exit status 1 (or 255 or 0) ===== ===== [[exit_status_1]] Connection has been unexpectedly closed. Server sent command exit status 1 (or 255 or 0) =====
All reasons and hints for [[messages#unexpected_close|"Server unexpectedly closed network connection"]] above apply to this error too. All reasons and hints for [[messages#unexpected_close|"Server unexpectedly closed network connection"]] above apply to this error too.

Last modified: by martin