Unable to disable public key authentication.
MrSpock opened this issue · 0 comments
MrSpock commented
Hi,
It seems that there is not ability to set available authentication methods and their order.
I have systems that use only keyboard-interractive and any public key auth ends with disconnection.
Every connection tries public key first and result is:
com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 2 publickey authentication rejected