Jump example not working
Hello @hierynomus,
I noticed that DirectConnection class is not present in the current working version "0.27" thus I am not able to use some parts of the code.
Example URL: https://github.com/hierynomus/sshj/blob/master/examples/src/main/java/net/schmizz/sshj/examples/Jump.java
Specifically, I cannot use:
import net.schmizz.sshj.connection.channel.direct.DirectConnection; DirectConnection tunnel = firstHop.newDirectConnection("localhost", 22); ssh.connectVia(tunnel);
The objects are not found. Please advise.
Thanks.
Don't know if it's quite the answer you are looking for but similar question answered in #527
The release 0.27 is from January 2019, while the Jump functionality was added in June 2019. Presumably a release 0.28 will support this.