This month's Index
Subject: Setting MAC option
Setting MAC option
From: Jeremy Zapata <jzapata_at_globalscape.com>
Date: Fri, 1 May 2015 15:51:46 +0000
I am using libssh2 compiled with OpenSSL and libcurl (OpenSSL v1.0.2 and libssh2 v1.4.3, libcurl 7.22.0) and I use it to test uploading/downloading files over sftp.
I have limited experience with ssh and sftp but on Linux there are additional options that can be specified with the sftp command such as the MAC (Message Authentication Code) like this:
sftp -oCiphers=3des-cbc -oMACs=hmac-md5 myuser_at_myhost
Is anyone familiar with the MAC option and how it can be set for libssh2 (hopefully there is a way through libcurl)?
It was hard to find a whole lot of information on the MAC option, but this is something I found: http://www.computerhope.com/unix/sftp.htm.
Jeremy Zapata | Software Engineer in Test