Can't install SSHJ: installation fails with dependency error on org.bouncycastle.bcpkix
See original GitHub issueThis is a follow-up of https://github.com/dbeaver/dbeaver/issues/9989#issuecomment-824908370 . I want to connect to a PostgreSQL db through a SSH tunnel, but connection fails with default implementation JSch
with error process hasn't exited
(see https://github.com/dbeaver/dbeaver/issues/9989), so I’m following the suggestion from multiple commenters at https://github.com/dbeaver/dbeaver/issues/9989 to switch to SSHJ (instead of the default JSch).
Sadly, I’m unable to follow this advice to switch to SSHJ, because I’m unable to install it. When I try to install it (from Install New Software
→ DBeaver SSHJ extension - https://dbeaver.io/update/sshj/latest/
→ Next
), installation fails with:
Cannot complete the install because one or more required items could not be found.
Software being installed: DBeaver SSHJ 1.0.76.202104181339 (org.jkiss.dbeaver.net.sshj.feature.feature.group 1.0.76.202104181339)
Missing requirement: SSHv2 library for Java 0.27.3 (org.jkiss.bundle.sshj 0.27.3) requires 'osgi.bundle; org.bouncycastle.bcpkix 0.0.0' but it could not be found
Cannot satisfy dependency:
From: DBeaver SSH implementation (SSHJ) 1.0.76.202104181339 (org.jkiss.dbeaver.net.ssh.sshj 1.0.76.202104181339)
To: osgi.bundle; org.jkiss.bundle.sshj 0.0.0
Cannot satisfy dependency:
From: DBeaver SSHJ 1.0.76.202104181339 (org.jkiss.dbeaver.net.sshj.feature.feature.group 1.0.76.202104181339)
To: org.eclipse.equinox.p2.iu; org.jkiss.dbeaver.net.ssh.sshj [1.0.76.202104181339,1.0.76.202104181339]
Am I missing something?
System information
- Ubuntu 20.10, fully up-to-date
- DBeaver 21.0.3.202104181339 (latest as of today, installed from the official deb package)
- Zero additional extensions
Issue Analytics
- State:
- Created 2 years ago
- Comments:19 (2 by maintainers)
Top Results From Across the Web
BouncyCastle openssl cannot be resolved - Stack Overflow
Whenever we get error saying "The import *** cannot be resolved", it means that there is problem with library. Here, bcprov-jdk jar is...
Read more >EGit / JGit » Can't update EGit - Eclipse Community Forums
An error occurred while collecting items to be installed ... found containing: osgi.bundle,org.bouncycastle.bcpkix,1.61.0.v20190602-1335
Read more >Set up environment to install API components and program with API
The following sections provide details about installing API components and programing with API. Requirements to use Java API. To use the Java API, ......
Read more >SSH installation errors - Ask Ubuntu
The problem: openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu1) but 1:6.6p1-2ubuntu2 is installed. Try running:
Read more >recording test results [checks api] no suitable checks publisher ...
Please let me know, if any other dependency is complicating this issue or may be ... jenkins/Jenkinsfile 10:32:44 Selected Git installation does not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Still having this issue with dbeaver Version 21.2.2.202110030714 and Ubuntu 20.04.
I’m having the same problem on
21.2.4
. Same error, the thing is, my initial issue is #7424.I’ve read that JSCh doesn’t work, recommended SSHJ, now I’m stuck. lol