linux - How to specify libcurl SFTP hmac option -


i have version of libcurl compiled libssh2 (fairly recent versions, openssl v1.0.2 , libssh2 v1.4.3) supports uploading/downloading files sftp. have limited experience ssh , sftp know on linux there additional options can specified sftp command such mac (message authentication code). simple connect can this:

sftp -ociphers=... -omacs=... myuser@myhost 

the above command works. here 1 reference found. however, need same thing using libcurl can test on windows. need test different cipher/mac combinations, example 3des-cbc or aes128-cbc ciphers hmac-md5 or hmac-sha1.

does libcurl sftp support specifying hmac option? , if how tell use?

i got on libcurl , libssh2 mailing lists , asked question , told option looking not exist in libssh2 , therefore not exist in libcurl. libssh2 compiled support particular hmac ciphers (like md5 or sha1). so, compiling different versions of libssh2 library targeted specific hmac cipher looks way need do.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -