Unable to start SSH session to windows Container using Windows built-in SSH Server

Advertisement

deivid
Joined:
Posts:
4
Location:
Spain

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:
< 2024-06-16 09:22:01.666 PS C:\Users\localadmin> echo "WinSCP: this is end-of-file:0"
And keeps waiting forever for a response to this command, yet it seems to be receiving it:
< 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
It keeps waiting forever for this one additional byte, terminating finally with the message:
Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

Reply with quote

Advertisement

deivid
Joined:
Posts:
4
Location:
Spain

I have tried all of the following:
None of them seem to work either.

All of them will let me start an SSH session both from the Windows integrated SSH client and from PuTTY.

Reply with quote

deivid

Finally got it working, I had to set "SFTP Server" option to "sftp-server", looks like by default it will be trying to start an sftp-server executable on a wrong path.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum