Unable to start SSH session to windows Container using Windows built-in SSH Server
I seem unable to have WinSCP to connect to a Windows Container with the default SSH Server configured.
I can manually start an SSH session from PowerShell, so I can confirm SSH server is listening and working.
I can tell from the logs that WinSCP is properly authenticating and even reading the remote shell input.
It then seems to be sending this to the shell:
And keeps waiting forever for a response to this command, yet it seems to be receiving it:
It keeps waiting forever for this one additional byte, terminating finally with the message:
I can manually start an SSH session from PowerShell, so I can confirm SSH server is listening and working.
I can tell from the logs that WinSCP is properly authenticating and even reading the remote shell input.
It then seems to be sending this to the shell:
< 2024-06-16 09:22:01.666 PS C:\Users\localadmin> echo "WinSCP: this is end-of-file:0"
< 2024-06-16 09:22:01.792 WinSCP: this is end-of-file:0 . 2024-06-16 09:22:01.792 Waiting for another 1 bytes . 2024-06-16 09:22:01.792 Looking for incoming data . 2024-06-16 09:22:01.792 Looking for network events . 2024-06-16 09:22:01.814 Detected network event
Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).