2010年3月27日 星期六

SSH Tunneling with Java

For my project, I need a SSH Tunneling for database connection.
After google a bit. I found JSch. Maybe I can try to use this.
But I don't know why I can't connect to http://www.jcraft.com/jsch/ now.
By the way, we can just use plink in windows.

JSch is a pure Java implementation of SSH2.
JSch allows you to connect to an sshd server and use port forwarding, X11 forwarding, file transfer, etc., and you can integrate its functionality into your own Java programs. JSch is licensed under BSD style license.