Skip to content

Jsch not working with Server Secure Transport not supporting hmac-sha256@ssh.com hmac-sha512@ssh.com  #54

Description

@ysom2005

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions