Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ysom2005 opened this issue Feb 7, 2024 · 0 comments

Comments

@ysom2005
Copy link

ysom2005 commented Feb 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant