Rip out the old build of libcurl + libssh2 and replace it NMSSH. Turns out NMSSH works great with Swift 🐦.
The old version of libcurl used in captured was built from Apple's Open Source packages, where I recompiled it to use libssh2, which adds SFTP support. Well, they changed how the frameworks are built and after a few hours of trying to recompile it I was unsuccessful. 🔥
So, took the extreme approach of remove that dependency and re-implementing the functionality. This turned out to be easy, thanks to @Frugghi and his little library.
Rip out the old build of
libcurl
+libssh2
and replace itNMSSH
. Turns out NMSSH works great with Swift 🐦.The old version of
libcurl
used in captured was built from Apple's Open Source packages, where I recompiled it to uselibssh2
, which adds SFTP support. Well, they changed how the frameworks are built and after a few hours of trying to recompile it I was unsuccessful. 🔥So, took the extreme approach of remove that dependency and re-implementing the functionality. This turned out to be easy, thanks to @Frugghi and his little library.