sshj icon indicating copy to clipboard operation
sshj copied to clipboard

Jump example not working

Open asarkisian opened this issue 5 years ago • 2 comments

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.

asarkisian avatar Feb 13 '20 21:02 asarkisian

Don't know if it's quite the answer you are looking for but similar question answered in #527

dhubbard-ic avatar Feb 14 '20 11:02 dhubbard-ic

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.

drosenbauer avatar Mar 03 '20 16:03 drosenbauer