++ Added Dev team
From: Surya Vasundhara Devi Motamarry <[email protected]>
Date: Thursday, 4 July 2024 at 10:46 PM
To: [email protected] <[email protected]>
Subject: HostKey Algorithm rsa-sha2-512 not supported by
RSABufferPublicKeyParser Error
Hi Team,
While using apachemina for ssh connectivity to server, getting below error :
SshException after 2101034762 nanos at read cycle=4: Key type=rsa-sha2-512) not
supported by parser=[RSABufferPublicKeyParser - supported=[ssh-rsa],
DSSBufferPublicKeyParser - supported=[ssh-dss], ECBufferPublicKeyParser -
supported=[ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521],
SkECBufferPublicKeyParser - supported=[[email protected]],
ED25519BufferPublicKeyParser - supported=[ssh-ed25519],
OpenSSHCertPublicKeyParser - supported=[[email protected],
[email protected]<mailto:[email protected]>,
[email protected]<mailto:[email protected]>,
[email protected]<mailto:[email protected]>,
[email protected]<mailto:[email protected]>,
[email protected]<mailto:[email protected]>],
SkED25519BufferPublicKeyParser - supported=[[email protected]]]
at
org.apache.sshd.common.util.buffer.Buffer.getRawPublicKey(Buffer.java:570)
~[sshd-common-2.12.1.jar:2.12.1]
As per the documentation , rsa-sh2-512 is supported by apachemina but in
RSABufferPublicKeyParser only ssh-rsa is supported. Could you please help me in
this .
--
Thanks,
Vasundhara