SFTP server - Secure Transport no longer supports the following SFTP legacy Message Authentication Codes (MACs):
hmac-sha256@ssh.com
hmac-sha512@ssh.com
Supported MACs:
hmac-sha2-256
hmac-sha2-256-etm@openssh.com
hmac-sha2-512
hmac-sha2-512-etm@openssh.com
Looking at the Jsch code it seems we do not have a support for supported MACs so what is the recommended way.
I did tried
config.put("mac.s2c", "hmac-sha1");
config.put("mac.c2s", "hmac-sha1");
With multiple options given below but does not help.
hmac-sha2-256
hmac-sha2-512
hmac-sha2-512-etm
-Thanks and Regards
Yoges