Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

MrCalvin

Re: Cannot logon using non-default "SFTP Server" option

I'm just trying to get an understanding of it all.
Thank for enlighten me.
martin

Re: Cannot logon using non-default "SFTP Server" option

Yes, SFTP client can instruct the SSH server what binary to execute.

Again, what are you trying to achieve?
MrCalvin

Re: Cannot logon using non-default "SFTP Server" option

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?)
martin

Re: Cannot logon using non-default "SFTP Server" option

I'm not sure what you mean by "SFTP Option". Do you mean "SFTP server" session setting?
https://winscp.net/eng/docs/ui_login_sftp
There you need to specify an SFTP server. sftp is a client.
What are you trying to achieve?
MrCalvin

Cannot logon using non-default "SFTP Server" option

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.