ghisler(Author) wrote:Feel free to publish all code changes, I have published all my other plugins under a BSD-type licence. I don't know why I forgot to include it here.
It would be so helpful if it was possible to define per connection proxy settings.
Indeed this isn't currently supported, sorry.
SFTP Error
Error: Could not initialize SFTP session!
Unable to request SFTP subsystem
This means that the plugin managed to connect to the server via SSH protocol, but the server refused to open the SFTP channel. Sorry, I don't know why the server would refuse it. WinSCP uses a different protocol (pure SSH for the file lists, and SCP for the data transfers).
In my case problem was in server missconfiguration:
Subsystem sftp /usr/libexec/sftp-server
insted of:
Subsystem sftp /usr/lib/sftp-server
was writen in /etc/ssh/sshd_config
Well, WinSCP doesn't use SFTP to get the directory listing, the plugin does. WinSCP probably sends an "ls -l" command to the shell, and then tries to interpret the returns - a nightmare with all the language versions of Unix...
I have now created a new version of my SFTP plugin which supports multiple proxies, while still retaining compatibility with existing proxy settings. The advantage is that you can quickly change the proxy of all connections using the same proxy, e.g. when changing between home and work PC.
We now have SFTP plugin for x64 TC too. There's only one small problem, where to get 64-bit libssh2.dll? The usual source (cURL) doesn't seem to have one, unless I overlooked it. My self-compiled dll also didn't work with the distributed binary plugin. Finally compiling everything (OpenSSL+libssh2+plugin) did the trick. But not many users have the option to do that. Any official comments?
I spent some good time looking for a decent source of those compiled curl libraries but to no avail. One may possibly find some unreliable builds here or there, but no seriously maintained source of them.
So if you would be that kind to publish your own builds that would be greatly appreciated.