<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MattPayne.org &#187; jMatter</title>
	<atom:link href="http://www.mattpayne.org/blog/category/programming/java/swing/jmatter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattpayne.org/blog</link>
	<description>Omaha, NE - Computer Programmer</description>
	<lastBuildDate>Fri, 26 Mar 2010 00:52:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JSch is easy to use!</title>
		<link>http://www.mattpayne.org/blog/2006/09/17/jsch-is-easy-to-use/</link>
		<comments>http://www.mattpayne.org/blog/2006/09/17/jsch-is-easy-to-use/#comments</comments>
		<pubDate>Sun, 17 Sep 2006 11:42:40 +0000</pubDate>
		<dc:creator>Payne</dc:creator>
				<category><![CDATA[Crypto]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[jMatter]]></category>

		<guid isPermaLink="false">http://www.mattpayne.org/blog/2006/09/17/jsch-is-easy-to-use/</guid>
		<description><![CDATA[&#8220;JSch is a pure Java implementation of                SSH2.&#8221;  It&#8217;s great that the license is BSD style.

This package is easy to use and comes with some nice demo programs.   I was able to quickly adapt their SSH tunnels [...]]]></description>
			<content:encoded><![CDATA[<p><strong>&#8220;<a href="http://www.jcraft.com/jsch/">JSch</a> is a pure Java implementation of                <a href="http://ietf.org/html.charters/secsh-charter.html" target="_blank">SSH2</a>.&#8221;  It&#8217;s great that the <a href="http://www.jcraft.com/jsch/LICENSE.txt">license</a> is BSD style.<br />
</strong></p>
<p>This package is easy to use and comes with some <a href="http://www.jcraft.com/jsch/examples/">nice demo programs</a>.   I was able to quickly adapt <a href="http://www.jcraft.com/jsch/examples/PortForwardingL.java">their SSH tunnels demo</a> so that before starting the real main in a <a href="http://jmatter.org/">jMatter.org</a> application (which was being launched via <a href="http://java.sun.com/products/javawebstart/">Java Web Start</a>) a <a href="http://www.rzg.mpg.de/networking/tunnelling.html">SSH tunnel</a> was established.  Then the jMatter.org application makes a database connection to 127.0.0.1 which really goes through the SSH tunnel to the UNIX box with the database server on it.  This way the database server&#8217;s TCP socket doesn&#8217;t have to be directly exposed to the Internet.</p>
<p>Still to do is tweaking things so each end user has a unique tunnel&#8230; maybe with ssh keys&#8230;</p>
<p>BTW It&#8217;s interesting that the top page returned by googling SSH tunnel is <a href="http://www.rzg.mpg.de/networking/tunnelling.html">http://www.rzg.mpg.de/networking/tunnelling.html</a>.  There&#8217;s a nice picture there:</p>
<p><img src="http://mattpayne.org/i/ssh-tunnel-01.gif" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mattpayne.org/blog/2006/09/17/jsch-is-easy-to-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.501 seconds -->
