linux - Java Library for SSH SOCKS binding (Dynamic Port Forwarding)? -


i'm looking way connect remote server using ssh binding inside java application. enter command below inside terminal connect server:

ssh -d 1234 username@w.x.y.z 

then can configure browser socks ip & port to:

socks ip: 127.0.0.1 socks port: 1234 

& use server browse inside internet

now please me in java application.

currently use library called jsch in program couldn't application work. have idea or sample code or whatever problem ?

(notice both socks v4 & v5 should supported inside java library)

you multiple options

-http://mina.apache.org/sshd-project/documentation.html trusted apache project support in form of user community,docs & examples think asking for. https://svn.apache.org/repos/asf/mina/sshd/trunk/sshd-core/src/test/java/org/apache/sshd/portforwardingtest.java

-http://www.jcraft.com/jsch/ bad documentation has been in existence long time.sample code pretty good.

http://code.google.com/p/ganymed-ssh-2/

another lib sufficent documnetation.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -