On 04.07.24 19:16 , Surya Vasundhara Devi Motamarry wrote:
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 .

rsa-sha2-512 is not a key type, it's a signature type. If you have a server returning rsa-sha2-512 as key type then that server is broken.

Can you post a full stack trace?

Cheers,

  Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to