On 05.07.24 09:55 , Surya Vasundhara Devi Motamarry wrote:
     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 a *signature type*, not a *key type*. There are
no "rsa-sha2-512" keys. Even with an "rsa-sha2-512" signature,
it's still a "ssh-rsa" key.

Sounds like a broken server. It should not send "rsa-sha2-512" as
a key type. What's the full stack trace?

Cheers,

  Thomas




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

Reply via email to