I'm just trying to get an understanding of it all.
Thank for enlighten me.
Yes, SFTP client can instruct the SSH server what binary to execute.
Again, what are you trying to achieve?
Yes, the "SFTP server" value (see screen-dump)
The documentation says "Use SFTP server to specify path to SFTP server binary".
I assume it is the binary of SFTP-server/daemon on the remote server, right?
How is this relevant for the client (WinSCP)? The client just connect on port 22 using some protocol and cannot instruct the remote-server on which binary/server/daemon to use (or can it, does it first connect with SSH and the tell the remote-server to switch to SFTP, and thereby which binary to start?)
I'm only able to connect with SFTP when using "SFTP Option=Default".
I've tried "SFTP Option=/bin/sftp" (I only have "/bin/sftp" on the server), but I get error 1.
I logon as root user.
Been looking for answers in the WinSCP log-file (Debug 2) but without luck.
Server is Debian Buster.