Having moved my blog to a static blogging engine means that now I have to upload the generated blog html files to on a server. Octopress recommends deoploying using Rsync via SSH.
Since I do my hacking on a Windows machine and I use Total Commander for file management I thought I would give Total Commander’s SFTP plugin a try.
I like to think that I am power user when it comes to Total Commander, but I ended up installing WinSCP to upload the files via SSH. I couldn’t figure out the right combination of DLL dependencies that Total Commander’s SFTP plugin requires.
Total Commander has this entry in the FAQ:
Q: Why doesn't Total Commander support a connection by SSH?
A: Unfortunately we cannot support any encryption in Total Commander because of the current patent and crypto export situation.
However, there is now a new file system plugin for Total Commander, which supports SFTP. SFTP is FTP via SSH.
It needs SSH2, which is now supported by almost all new Linux and other Unix distributions.
Since my blog is hosted in Germany, and Germany doesn’t have a crypto export situation, I thought of building the Total Commander’s SFTP plugin together with its dependencies.
Total Commander’s SFTP plugin has libssh2 as a dependency. libssh2 has OpenSSL and zlib dependencies.
After a bit of fiddling with the SFTP plugin’s code I present you below version 1.4.2 of the SFTP plugin with batteries included:
The plugin was statically compiled to the following library versions (batteries):
- OpenSSL 1.0.2d
- libssh2 1.6.0
- zlib 1.2.8
I compiled the plugin for 32 and 64 bit versions of Total Commander.
This post was uploaded by using this plugin