I mean, the error message says "no tty present and no askpass program specified"
is it possible to "configure" an askpass program in winscp.
TTY is incompatible with SFTP protocol. And askpass program must be server-side, not client-side.
Theoretically, WinSCP could ask for the password. But TTY must be disabled in any case. And that also requires a change in