Hi.
Thank you for the information. Synology released an update DSM 5.1-5021, and after that it was possible to use winSCP again. Perhaps they changed the bash settings?
/bolleboll
I think this is the escape charcaters that is given for the prompt.
Do you know what the "7[r[999;999H[6n" means?
Hi.
I have been using WinSCP succesfully to connect to my synology NAS using SCP for a long time. After the latest Synology upgrade to DSM 5.1-5004 WinSCP fails to complete the initialization.
Authentication works fine, but the next step of checks fails, not sure which...
Synology uses their own shell, ash.
I am able to login with Putty and use ls -la without any problems.
With Debug2:
. 2014-11-27 19:48:25.540 Using SCP protocol.
. 2014-11-27 19:48:25.540 Doing startup conversation with host.
. 2014-11-27 19:48:25.602 Skipping host startup message (if any).
! 2014-11-27 19:48:25.602 7[r[999;999H[6n
. 2014-11-27 19:48:25.602 Sent 36 bytes
. 2014-11-27 19:48:25.602 There are 0 bytes remaining in the send buffer
. 2014-11-27 19:48:25.602 Looking for network events
. 2014-11-27 19:48:25.602 Timeout waiting for network events
. 2014-11-27 19:48:25.602 Sent 1 bytes
. 2014-11-27 19:48:25.602 There are 0 bytes remaining in the send buffer
. 2014-11-27 19:48:25.602 Looking for network events
. 2014-11-27 19:48:25.602 Timeout waiting for network events
> 2014-11-27 19:48:25.602 echo "WinSCP: this is end-of-file:0"
. 2014-11-27 19:48:25.602 Waiting for another 1 bytes
. 2014-11-27 19:48:25.602 Looking for incoming data
. 2014-11-27 19:48:25.602 Looking for network events
. 2014-11-27 19:48:25.633 Detected network event
. 2014-11-27 19:48:25.633 Enumerating network events for socket 800
. 2014-11-27 19:48:25.633 Enumerated 1 network events making 1 cumulative events for socket 800
. 2014-11-27 19:48:25.633 Handling network read event on socket 800 with error 0
. 2014-11-27 19:48:25.633 Received 2 bytes (1)
. 2014-11-27 19:48:25.633 Waiting for another 1 bytes
. 2014-11-27 19:48:25.633 Looking for incoming data
. 2014-11-27 19:48:25.633 Looking for network events
. 2014-11-27 19:48:40.646 Timeout waiting for network events
. 2014-11-27 19:48:40.646 Waiting for data timed out, asking user what to do.
. 2014-11-27 19:48:40.646 Asking user:
. 2014-11-27 19:48:40.646 **Host is not communicating for 15 seconds.
. 2014-11-27 19:48:40.646
. 2014-11-27 19:48:40.646 Wait for another 15 seconds?** ()
. 2014-11-27 19:48:41.157 Pooling for data in case they finally arrives
. 2014-11-27 19:48:41.191 Looking for network events
. 2014-11-27 19:48:41.191 Timeout waiting for network events
. 2014-11-27 19:48:41.659 Pooling for data in case they finally arrives
. 2014-11-27 19:48:41.701 Looking for network events
. 2014-11-27 19:48:41.701 Timeout waiting for network events
. 2014-11-27 19:48:42.162 Pooling for data in case they finally arrives
. 2014-11-27 19:48:42.193 Looking for network events
. 2014-11-27 19:48:42.193 Timeout waiting for network events
. 2014-11-27 19:48:42.271 Attempt to close connection due to fatal exception:
* 2014-11-27 19:48:42.271 **Terminated by user.**
. 2014-11-27 19:48:42.271 Closing connection.
. 2014-11-27 19:48:42.271 Sending special code: 12
. 2014-11-27 19:48:42.271 Sent EOF message
. 2014-11-27 19:48:42.271 Selecting events 0 for socket 800
* 2014-11-27 19:48:42.349 (EFatal) **Terminated by user.**
* 2014-11-27 19:48:42.349 Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).
! 2014-11-27 19:48:44.677 8
BR
Bolleboll