++ Added Dev team

From: Surya Vasundhara Devi Motamarry <motamarry.surya.vasundhara.d...@ibm.com>
Date: Thursday, 4 July 2024 at 10:46 PM
To: us...@mina.apache.org <us...@mina.apache.org>
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=[sk-ecdsa-sha2-nistp...@openssh.com], 
ED25519BufferPublicKeyParser - supported=[ssh-ed25519], 
OpenSSHCertPublicKeyParser - supported=[ssh-rsa-cert-...@openssh.com, 
ssh-dss-cert-...@openssh.com<mailto:ssh-dss-cert-...@openssh.com>, 
ecdsa-sha2-nistp256-cert-...@openssh.com<mailto:ecdsa-sha2-nistp256-cert-...@openssh.com>,
 
ecdsa-sha2-nistp384-cert-...@openssh.com<mailto:ecdsa-sha2-nistp384-cert-...@openssh.com>,
 
ecdsa-sha2-nistp521-cert-...@openssh.com<mailto:ecdsa-sha2-nistp521-cert-...@openssh.com>,
 ssh-ed25519-cert-...@openssh.com<mailto:ssh-ed25519-cert-...@openssh.com>], 
SkED25519BufferPublicKeyParser - supported=[sk-ssh-ed25...@openssh.com]]
                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

Reply via email to