Score:0

DBeaver tunnel connection says ssh-keygen permission denied

im flag
Bej

I tried connecting to my remote DB on DBeaver through a tunnel configuration. I added the required details and tried connecting with my ssh private key, but it is throwing an error saying permission denied to run ssh-keygen.

enter image description here

Does anybody know the fix for this?

P.S: the tunnel connection to DB works fine when connecting through my terminal using commands.

CrazyTux avatar
us flag
may this topic help your problem ? https://stackoverflow.com/questions/56979849/dbeaver-ssh-tunnel-invalid-private-key or this topic https://askubuntu.com/questions/1203028/dbeaver-ssh-tunnel-error
Bej avatar
im flag
Bej
@CrazyTux I already tried that. Didnt work
Score:1
kg flag

You can switch from Jshc to SSHJ in the SSH connection advanced settings. Like on this screenshot.

screenshot

Score:0
in flag

DBbeaver requires your key in RSA format not OPENSSH. Convert your key using this command:

ssh-keygen -t rsa -b 2048 -m PEM
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.