Change the settings on Dbeaver:
- Right click your connection, choose
Edit Connection - On the
Connection settingsscreen (main screen) click onEdit Driver Settings

- Click on
Connection properties - Right click the
User Propertiesarea and chooseAdd new property - Add two properties:
useSSLandallowPublicKeyRetrieval

- Set their values to
falseandtruerespectively by double clicking on thevaluecolumn - Save and test the connection.
Hopefully it should work!