Author: buildbot
Date: Wed Oct 31 17:51:14 2012
New Revision: 836763

Log:
Staging update by buildbot for mina

Modified:
    websites/staging/mina/trunk/content/   (props changed)
    websites/staging/mina/trunk/content/asyncweb/contributors.html
    websites/staging/mina/trunk/content/sshd/building.html
    websites/staging/mina/trunk/content/sshd/configuring_security.html
    websites/staging/mina/trunk/content/sshd/embedding_ssh.html
    websites/staging/mina/trunk/content/sshd/load_ssh_editor.html
    websites/staging/mina/trunk/content/sshd/mailing_lists.html
    websites/staging/mina/trunk/content/sshd/required_dependencies.html
    websites/staging/mina/trunk/content/sshd/sources.html
    websites/staging/mina/trunk/content/sshd/tips.html

Propchange: websites/staging/mina/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Oct 31 17:51:14 2012
@@ -1 +1 @@
-1404261
+1404273

Modified: websites/staging/mina/trunk/content/asyncweb/contributors.html
==============================================================================
--- websites/staging/mina/trunk/content/asyncweb/contributors.html (original)
+++ websites/staging/mina/trunk/content/asyncweb/contributors.html Wed Oct 31 
17:51:14 2012
@@ -114,7 +114,7 @@
 <li>Jeff Genender</li>
 <li>Mike Heath</li>
 <li>Alex Karasulu</li>
-<li>Emmanuel Lecharny</li>
+<li>Emmanuel L&eacute;charny</li>
 <li>Sangjin Lee</li>
 <li>Trustin Lee</li>
 <li>Rick McGuire</li>

Modified: websites/staging/mina/trunk/content/sshd/building.html
==============================================================================
--- websites/staging/mina/trunk/content/sshd/building.html (original)
+++ websites/staging/mina/trunk/content/sshd/building.html Wed Oct 31 17:51:14 
2012
@@ -111,13 +111,14 @@
 <ul>
 <li>Download and <a 
href="http://maven.apache.org/download.html#Installation";>install 
Maven</a>.</li>
 <li>Get the latest code from <a href="sources.html">SVN</a></li>
-<li>Build the code with the following command</li>
+<li>
+<p>Build the code with the following command</p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span 
class="n">clean</span> <span class="n">install</span>
+</pre></div>
+
+
+</li>
 </ul>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-mvn 
-</PRE>
-</DIV></DIV></p>
 
                 </div><!-- rightColumn -->
                 <div id="endContent"></div>

Modified: websites/staging/mina/trunk/content/sshd/configuring_security.html
==============================================================================
--- websites/staging/mina/trunk/content/sshd/configuring_security.html 
(original)
+++ websites/staging/mina/trunk/content/sshd/configuring_security.html Wed Oct 
31 17:51:14 2012
@@ -114,25 +114,23 @@ This layer is pluggable and use the foll
 <li><a 
href="http://svn.apache.org/repos/asf/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/server/PublickeyAuthenticator.java";>PublickeyAuthenticator</a>
 for key based authentication</li>
 </ul>
 <p>Those custom classes can be configured on the SSHD server using the 
following code:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-SshServer sshd = SshServer.setUpDefaultServer();
-sshd.setPasswordAuthenticator(<SPAN class="code-keyword">new</SPAN> 
MyPasswordAuthenticator());
-sshd.setPublickeyAuthenticator(<SPAN class="code-keyword">new</SPAN> 
MyPublickeyAuthenticator());
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">SshServer</span> <span 
class="n">sshd</span> <span class="o">=</span> <span 
class="n">SshServer</span><span class="o">.</span><span 
class="na">setUpDefaultServer</span><span class="o">();</span>
+<span class="n">sshd</span><span class="o">.</span><span 
class="na">setPasswordAuthenticator</span><span class="o">(&lt;</span><span 
class="n">SPAN</span> <span class="n">class</span><span class="o">=</span><span 
class="s">&quot;code-keyword&quot;</span><span class="o">&gt;</span><span 
class="k">new</span><span class="o">&lt;/</span><span 
class="n">SPAN</span><span class="o">&gt;</span> <span 
class="n">MyPasswordAuthenticator</span><span class="o">());</span>
+<span class="n">sshd</span><span class="o">.</span><span 
class="na">setPublickeyAuthenticator</span><span class="o">(&lt;</span><span 
class="n">SPAN</span> <span class="n">class</span><span class="o">=</span><span 
class="s">&quot;code-keyword&quot;</span><span class="o">&gt;</span><span 
class="k">new</span><span class="o">&lt;/</span><span 
class="n">SPAN</span><span class="o">&gt;</span> <span 
class="n">MyPublickeyAuthenticator</span><span class="o">());</span>
+</pre></div>
+
+
 <p>If only one of those class is implemented, only the related authentication 
mechanism will be enabled.</p>
 <h2 id="jaas-integration">JAAS integration</h2>
 <p>SSHD provides a password based authentication that delegates to JAAS.
 This can be configured in the following way:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-SshServer sshd = SshServer.setUpDefaultServer();
-JaasPasswordAuthenticator pswdAuth = <SPAN class="code-keyword">new</SPAN> 
JaasPasswordAuthenticator();
-pswdAuth.setDomain(<SPAN class="code-quote">&quot;myJaasDomain&quot;</SPAN>);
-sshd.setPasswordAuthenticator(pswdAuth);
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">SshServer</span> <span 
class="n">sshd</span> <span class="o">=</span> <span 
class="n">SshServer</span><span class="o">.</span><span 
class="na">setUpDefaultServer</span><span class="o">();</span>
+<span class="n">JaasPasswordAuthenticator</span> <span 
class="n">pswdAuth</span> <span class="o">=</span> <span 
class="o">&lt;</span><span class="n">SPAN</span> <span 
class="n">class</span><span class="o">=</span><span 
class="s">&quot;code-keyword&quot;</span><span class="o">&gt;</span><span 
class="k">new</span><span class="o">&lt;/</span><span 
class="n">SPAN</span><span class="o">&gt;</span> <span 
class="n">JaasPasswordAuthenticator</span><span class="o">();</span>
+<span class="n">pswdAuth</span><span class="o">.</span><span 
class="na">setDomain</span><span class="o">(&lt;</span><span 
class="n">SPAN</span> <span class="n">class</span><span class="o">=</span><span 
class="s">&quot;code-quote&quot;</span><span class="o">&gt;&amp;</span><span 
class="n">quot</span><span class="o">;</span><span 
class="n">myJaasDomain</span><span class="o">&amp;</span><span 
class="n">quot</span><span class="o">;&lt;/</span><span 
class="n">SPAN</span><span class="o">&gt;);</span>
+<span class="n">sshd</span><span class="o">.</span><span 
class="na">setPasswordAuthenticator</span><span class="o">(</span><span 
class="n">pswdAuth</span><span class="o">);</span>
+</pre></div>
+
+
 <p>The domain name must be set to the JAAS domain that will be used for 
authentication.</p>
 
                 </div><!-- rightColumn -->

Modified: websites/staging/mina/trunk/content/sshd/embedding_ssh.html
==============================================================================
--- websites/staging/mina/trunk/content/sshd/embedding_ssh.html (original)
+++ websites/staging/mina/trunk/content/sshd/embedding_ssh.html Wed Oct 31 
17:51:14 2012
@@ -116,58 +116,49 @@
 <p>Lets look at all these steps. Refer to this class for details <a 
href="http://svn.apache.org/viewvc/mina/sshd/trunk/sshd-core/src/main/java/org/apache/sshd/SshServer.java?view=markup";>SshServer.java</a></p>
 <h2 id="creating-an-instance-of-sshserver">Creating an instance of 
SshServer</h2>
 <p>This is as simple as creating a new object</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java"> 
-SshServer sshd = SshServer.setUpDefaultServer();
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">SshServer</span> <span 
class="n">sshd</span> <span class="o">=</span> <span 
class="n">SshServer</span><span class="o">.</span><span 
class="na">setUpDefaultServer</span><span class="o">();</span>
+</pre></div>
+
+
 <p>It will configure the server with sensible defaults for ciphers, macs, key 
exchange algorithm, etc...
 If you want a different behavior, you can look at the code of the 
setUpDefaultServer method and configure the SSH server the way you need.</p>
 <h2 id="configuring-the-server">Configuring the Server</h2>
 <p>There are a few things that needs to be configured on the server before 
being able to actually use it:</p>
 <h3 id="port">Port</h3>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-sshd.setPort(22);
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">sshd</span><span 
class="o">.</span><span class="na">setPort</span><span class="o">(</span><span 
class="mi">22</span><span class="o">);</span>
+</pre></div>
+
+
 <h3 id="keypairprovider">KeyPairProvider</h3>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-sshd.setKeyPairProvider(new SimpleGeneratorHostKeyProvider("hostkey.ser"));
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">sshd</span><span 
class="o">.</span><span class="na">setKeyPairProvider</span><span 
class="o">(</span><span class="k">new</span> <span 
class="n">SimpleGeneratorHostKeyProvider</span><span class="o">(</span><span 
class="s">&quot;hostkey.ser&quot;</span><span class="o">));</span>
+</pre></div>
+
+
 <p>It's usually a good idea to give the host key generator a path, so that if 
you restart the sshd server, the same key will be used to authenticate the 
server.</p>
 <h3 id="shellfactory">ShellFactory</h3>
 <p>That's the part you will usually have to write to customize the SSHD 
server. The shell factory will be used to create a new shell each time a user 
logs in. SSHD provides a single implementation that you can use if you want. 
This implementation will create a process and delegate everything to it, so 
it's mostly useful to launch the OS native shell.</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-sshd.setShellFactory(new ProcessShellFactory(new String[] { "/bin/sh", "-i", 
"-l" });
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">sshd</span><span 
class="o">.</span><span class="na">setShellFactory</span><span 
class="o">(</span><span class="k">new</span> <span 
class="n">ProcessShellFactory</span><span class="o">(</span><span 
class="k">new</span> <span class="n">String</span><span class="o">[]</span> 
<span class="o">{</span> <span class="s">&quot;/bin/sh&quot;</span><span 
class="o">,</span> <span class="s">&quot;-i&quot;</span><span 
class="o">,</span> <span class="s">&quot;-l&quot;</span> <span 
class="o">});</span>
+</pre></div>
+
+
 <p>Note that the ShellFactory is not required. If none is configured, any 
request for a shell will be denied to users.</p>
 <h3 id="commandfactory">CommandFactory</h3>
 <p>The CommandFactory can be used in addition to the ShellFactory (it can also 
be used instead of the ShellFactory). The CommandFactory is used when direct 
commands are sent to the SSH server, as this is the case when running 
<strong>ssh localhost shutdown</strong> or <strong>scp xxx</strong></p>
 <p>SSHD provides a CommandFactory to support SCP that can be configure in the 
following way:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-sshd.setCommandFactory(new ScpCommandFactory());
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">sshd</span><span 
class="o">.</span><span class="na">setCommandFactory</span><span 
class="o">(</span><span class="k">new</span> <span 
class="n">ScpCommandFactory</span><span class="o">());</span>
+</pre></div>
+
+
 <p>You can also use the ScpCommandFactory on top of your own 
CommandFactory:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-</PRE>
-sshd.setCommandFactory(new ScpCommandFactory(myCommandFactory));
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">sshd</span><span 
class="o">.</span><span class="na">setCommandFactory</span><span 
class="o">(</span><span class="k">new</span> <span 
class="n">ScpCommandFactory</span><span class="o">(</span><span 
class="n">myCommandFactory</span><span class="o">));</span>
+</pre></div>
+
+
 <p>Note that the CommandFactory is optional. If none is configured, any direct 
command sent by users will be rejected.</p>
 <h2 id="start-the-server">Start the Server</h2>
 <p>Once we have configured the Server, we need to call start(), to start the 
Server</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-</PRE>
-sshd.start();
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">sshd</span><span 
class="o">.</span><span class="na">start</span><span class="o">();</span>
+</pre></div>
 
                 </div><!-- rightColumn -->
                 <div id="endContent"></div>

Modified: websites/staging/mina/trunk/content/sshd/load_ssh_editor.html
==============================================================================
--- websites/staging/mina/trunk/content/sshd/load_ssh_editor.html (original)
+++ websites/staging/mina/trunk/content/sshd/load_ssh_editor.html Wed Oct 31 
17:51:14 2012
@@ -108,20 +108,18 @@
 
 <h1 id="loading-sshd-in-eclipse-or-idea">Loading SSHD in Eclipse or IDEA</h1>
 <p>If you want to debug or develop on SSHD, chances are you want to load it in 
your IDE. Most IDE now have some maven support (either natively or through 
plugins), but if you don't have those plugins installed, you can create the 
required project files using one of the following command:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-mvn eclipse:eclipse
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span 
class="n">eclipse:eclipse</span>
+</pre></div>
+
+
 <p>or </p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-mvn idea:idea
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">mvn</span> <span 
class="n">idea:idea</span>
+</pre></div>
+
+
 <p>If you want to have the source code for the various dependencies available 
for debugging, you can add the -DdownloadSources=true parameter on the command 
line.</p>
-<p>Next step is to load the generated project from Eclipse or IDEA.<br>
-Note that you may have to set up some global variables to point to the local 
maven repository.</p>
+<p>Next step is to load the generated project from Eclipse or IDEA.</p>
+<p>Note that you may have to set up some global variables to point to the 
local maven repository.</p>
 
                 </div><!-- rightColumn -->
                 <div id="endContent"></div>

Modified: websites/staging/mina/trunk/content/sshd/mailing_lists.html
==============================================================================
--- websites/staging/mina/trunk/content/sshd/mailing_lists.html (original)
+++ websites/staging/mina/trunk/content/sshd/mailing_lists.html Wed Oct 31 
17:51:14 2012
@@ -110,69 +110,87 @@
 <p>General information about the SSHD mailing lists can be found here.</p>
 <h2 id="for-users">For Users</h2>
 <p>Please use this list for any questions regarding how to use SSHD.</p>
-<p><DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Subscribe </TH>
-<TD class="confluenceTd"> <A href="mailto:[email protected]"; 
class="external-link" rel="nofollow">[email protected]</A> </TD>
-</TR>
-<TR>
-<TH class="confluenceTh"> Unsubscribe </TH>
-<TD class="confluenceTd"> <A href="mailto:[email protected]"; 
class="external-link" rel="nofollow">[email protected]</A> </TD>
-</TR>
-<TR>
-<TH class="confluenceTh"> Post </TH>
-<TD class="confluenceTd"> <A href="mailto:[email protected]"; 
class="external-link" rel="nofollow">[email protected]</A> </TD>
-</TR>
-<TR>
-<TH class="confluenceTh"> Archive </TH>
-<TD class="confluenceTd"> <A 
href="http://www.mail-archive.com/[email protected]/"; class="external-link" 
rel="nofollow">http://www.mail-archive.com/[email protected]/</A> </TD>
-</TR>
-</TBODY></TABLE>
-</DIV></p>
+<table>
+<thead>
+<tr>
+<th></th>
+<th></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Subscribe</td>
+<td><a 
href="mailto:[email protected]";>[email protected]</a></td>
+</tr>
+<tr>
+<td>Unsubscribe</td>
+<td><a 
href="mailto:[email protected]";>[email protected]</a></td>
+</tr>
+<tr>
+<td>Post</td>
+<td><a href="mailto:[email protected]";>[email protected]</a></td>
+</tr>
+<tr>
+<td>Archive</td>
+<td><a 
href="http://www.mail-archive.com/[email protected]/";>http://www.mail-archive.com/[email protected]/</a></td>
+</tr>
+</tbody>
+</table>
 <h2 id="for-developers">For Developers</h2>
 <p>We use the MINA developers list for asking technical questions, discussing 
feature suggestions or general questions regarding the project.</p>
-<p><DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Subscribe </TH>
-<TD class="confluenceTd"> <A href="mailto:[email protected]"; 
class="external-link" rel="nofollow">[email protected]</A> </TD>
-</TR>
-<TR>
-<TH class="confluenceTh"> Unsubscribe </TH>
-<TD class="confluenceTd"> <A href="mailto:[email protected]"; 
class="external-link" rel="nofollow">[email protected]</A> </TD>
-</TR>
-<TR>
-<TH class="confluenceTh"> Post </TH>
-<TD class="confluenceTd"> <A href="mailto:[email protected]"; 
class="external-link" rel="nofollow">[email protected]</A> </TD>
-</TR>
-<TR>
-<TH class="confluenceTh"> Archive </TH>
-<TD class="confluenceTd"> <A 
href="http://www.mail-archive.com/[email protected]/"; class="external-link" 
rel="nofollow">http://www.mail-archive.com/[email protected]/</A> </TD>
-</TR>
-</TBODY></TABLE>
-</DIV></p>
+<table>
+<thead>
+<tr>
+<th></th>
+<th></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Subscribe</td>
+<td><a 
href="mailto:[email protected]";>[email protected]</a></td>
+</tr>
+<tr>
+<td>Unsubscribe</td>
+<td><a 
href="mailto:[email protected]";>[email protected]</a></td>
+</tr>
+<tr>
+<td>Post</td>
+<td><a href="mailto:[email protected]";>[email protected]</a></td>
+</tr>
+<tr>
+<td>Archive</td>
+<td><a 
href="http://www.mail-archive.com/[email protected]/";>http://www.mail-archive.com/[email protected]/</a></td>
+</tr>
+</tbody>
+</table>
 <h2 id="subversion-commits">Subversion commits</h2>
-<p><DIV class="table-wrap">
-<TABLE class="confluenceTable"><TBODY>
-<TR>
-<TH class="confluenceTh"> Subscribe </TH>
-<TD class="confluenceTd"> <A href="mailto:[email protected]"; 
class="external-link" rel="nofollow">[email protected]</A> </TD>
-</TR>
-<TR>
-<TH class="confluenceTh"> Unsubscribe </TH>
-<TD class="confluenceTd"> <A href="mailto:[email protected]"; 
class="external-link" rel="nofollow">[email protected]</A> 
</TD>
-</TR>
-<TR>
-<TH class="confluenceTh"> Post </TH>
-<TD class="confluenceTd"> <A href="mailto:[email protected]"; 
class="external-link" rel="nofollow">[email protected]</A> </TD>
-</TR>
-<TR>
-<TH class="confluenceTh"> Archive </TH>
-<TD class="confluenceTd"> <A 
href="http://www.mail-archive.com/[email protected]/"; 
class="external-link" 
rel="nofollow">http://www.mail-archive.com/[email protected]/</A> </TD>
-</TR>
-</TBODY></TABLE>
-</DIV> </p>
+<table>
+<thead>
+<tr>
+<th></th>
+<th></th>
+</tr>
+</thead>
+<tbody>
+<tr>
+<td>Subscribe</td>
+<td><a 
href="mailto:[email protected]";>[email protected]</a></td>
+</tr>
+<tr>
+<td>Unsubscribe</td>
+<td><a 
href="mailto:[email protected]";>[email protected]</a></td>
+</tr>
+<tr>
+<td>Post</td>
+<td><a href="mailto:[email protected]";>[email protected]</a></td>
+</tr>
+<tr>
+<td>Archive</td>
+<td><a 
href="http://www.mail-archive.com/[email protected]/";>http://www.mail-archive.com/[email protected]/</a></td>
+</tr>
+</tbody>
+</table>
 
                 </div><!-- rightColumn -->
                 <div id="endContent"></div>

Modified: websites/staging/mina/trunk/content/sshd/required_dependencies.html
==============================================================================
--- websites/staging/mina/trunk/content/sshd/required_dependencies.html 
(original)
+++ websites/staging/mina/trunk/content/sshd/required_dependencies.html Wed Oct 
31 17:51:14 2012
@@ -109,8 +109,8 @@
 <h1 id="required-dependencies">Required dependencies</h1>
 <p>SSHD has 2 compile-time dependencies:</p>
 <ul>
-<li>MINA Core 2.0.x (<a 
href="http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.5/mina-core-2.0.5.jar";>http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.5/mina-core-2.0.5.jar</a>)</li>
-<li>SLF4J API 1.5.2 (<a 
href="http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar";>http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar</a>)</li>
+<li><a 
href="http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.5/mina-core-2.0.5.jar";>MINA
 Core 2.0.x</a> : 
http://repo1.maven.org/maven2/org/apache/mina/mina-core/2.0.5/mina-core-2.0.5.jar</li>
+<li><a 
href="http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar";>SLF4J
 API 1.5.2</a> : 
http://repo2.maven.org/maven2/org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.jar</li>
 </ul>
 <p>To be able to run SSHD, you will also need one SLF4J Logger implementation. 
The simpliest one is the one using java.util.logging underneath which can be 
downloaded at <a 
href="http://repo2.maven.org/maven2/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar";>http://repo2.maven.org/maven2/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar</a></p>
 

Modified: websites/staging/mina/trunk/content/sshd/sources.html
==============================================================================
--- websites/staging/mina/trunk/content/sshd/sources.html (original)
+++ websites/staging/mina/trunk/content/sshd/sources.html Wed Oct 31 17:51:14 
2012
@@ -112,37 +112,35 @@
 <p>The following is a link to the <a 
href="http://svn.apache.org/viewvc/mina/sshd";>online source repository</a>.</p>
 <h2 id="anonymous-access">Anonymous access</h2>
 <p>The source can be checked out anonymously from SVN with this command:</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV 
class="preformattedContent panelContent">
-<PRE>$ svn checkout http://svn.apache.org/repos/asf/mina/sshd/trunk sshd
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span 
class="nv">svn</span> <span class="n">checkout</span> <span 
class="n">http:</span><span class="sr">//s</span><span class="n">vn</span><span 
class="o">.</span><span class="n">apache</span><span class="o">.</span><span 
class="n">org</span><span class="sr">/repos/</span><span 
class="n">asf</span><span class="sr">/mina/ss</span><span 
class="n">hd</span><span class="o">/</span><span class="n">trunk</span> <span 
class="n">sshd</span>
+</pre></div>
+
+
 <h2 id="developer-access">Developer access</h2>
 <p>Everyone can access the Subversion repository via HTTPS, but Committers 
must checkout the Subversion repository via HTTPS.</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV 
class="preformattedContent panelContent">
-<PRE>$ svn checkout https://svn.apache.org/repos/asf/mina/sshd/trunk sshd
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span 
class="nv">svn</span> <span class="n">checkout</span> <span 
class="n">https:</span><span class="sr">//s</span><span 
class="n">vn</span><span class="o">.</span><span class="n">apache</span><span 
class="o">.</span><span class="n">org</span><span 
class="sr">/repos/</span><span class="n">asf</span><span 
class="sr">/mina/ss</span><span class="n">hd</span><span 
class="o">/</span><span class="n">trunk</span> <span class="n">sshd</span>
+</pre></div>
+
+
 <p>To commit changes to the repository, execute the following command to 
commit your changes (svn will prompt you for your password)</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV 
class="preformattedContent panelContent">
-<PRE>$ svn commit --username your-username -m &quot;A message&quot;
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span 
class="nv">svn</span> <span class="n">commit</span> <span 
class="o">--</span><span class="n">username</span> <span 
class="n">your</span><span class="o">-</span><span class="n">username</span> 
<span class="o">-</span><span class="n">m</span> <span 
class="o">&amp;</span><span class="n">quot</span><span class="p">;</span><span 
class="n">A</span> <span class="n">message</span><span 
class="o">&amp;</span><span class="n">quot</span><span class="p">;</span>
+</pre></div>
+
+
 <h2 id="access-from-behind-a-firewall">Access from behind a firewall</h2>
 <p>For those users who are stuck behind a corporate firewall which is blocking 
http access to the Subversion repository, you can try to access it via the 
developer connection:</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV 
class="preformattedContent panelContent">
-<PRE>$ svn checkout https://svn.apache.org/repos/asf/mina/sshd/trunk sshd
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="nv">$</span> <span 
class="nv">svn</span> <span class="n">checkout</span> <span 
class="n">https:</span><span class="sr">//s</span><span 
class="n">vn</span><span class="o">.</span><span class="n">apache</span><span 
class="o">.</span><span class="n">org</span><span 
class="sr">/repos/</span><span class="n">asf</span><span 
class="sr">/mina/ss</span><span class="n">hd</span><span 
class="o">/</span><span class="n">trunk</span> <span class="n">sshd</span>
+</pre></div>
+
+
 <h2 id="access-through-a-proxy">Access through a proxy</h2>
 <p>The Subversion client can go through a proxy, if you configure it to do so. 
First, edit your "servers" configuration file to indicate which proxy to use. 
The files location depends on your operating system. On Linux or Unix it is 
located in the directory "~/.subversion". On Windows it is in 
"%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden 
directory.)</p>
 <p>There are comments in the file explaining what to do. If you don't have 
that file, get the latest Subversion client and run any command; this will 
cause the configuration directory and template files to be created.</p>
 <p>Example : Edit the 'servers' file and add something like :</p>
-<p><DIV class="preformatted panel" style="border-width: 1px;"><DIV 
class="preformattedContent panelContent">
-<PRE>[global]
-http-proxy-host = your.proxy.name
-http-proxy-port = 3128
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="k">[global]</span>
+<span class="na">http-proxy-host</span> <span class="o">=</span> <span 
class="s">your.proxy.name</span>
+<span class="na">http-proxy-port</span> <span class="o">=</span> <span 
class="s">3128</span>
+</pre></div>
 
                 </div><!-- rightColumn -->
                 <div id="endContent"></div>

Modified: websites/staging/mina/trunk/content/sshd/tips.html
==============================================================================
--- websites/staging/mina/trunk/content/sshd/tips.html (original)
+++ websites/staging/mina/trunk/content/sshd/tips.html Wed Oct 31 17:51:14 2012
@@ -107,23 +107,19 @@
 
 
 <h1 id="how-to-execute-commands-as-processes-on-the-server-side">How to 
execute commands as processes on the server side?</h1>
-<p>If you want the SSH server to support direct command execution, you need to 
configure it with a Factory<Command> which will allow that.
-It can be done using the following code:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-sshd.setCommandFactory(<SPAN class="code-keyword">new</SPAN> 
ScpCommandFactory(<SPAN class="code-keyword">new</SPAN> CommandFactory() {
-    <SPAN class="code-keyword">public</SPAN> Command createCommand(<SPAN 
class="code-object">String</SPAN> command) {
-        <SPAN class="code-keyword">return</SPAN> <SPAN 
class="code-keyword">new</SPAN> ProcessShellFactory(command.split(<SPAN 
class="code-quote">&quot; &quot;</SPAN>)).create();
-    }
-}));
-</PRE>
-</DIV></DIV></p>
+<p>If you want the SSH server to support direct command execution, you need to 
configure it with a Factory<Command> which will allow that.</p>
+<p>It can be done using the following code:</p>
+<div class="codehilite"><pre><span class="n">sshd</span><span 
class="o">.</span><span class="na">setCommandFactory</span><span 
class="o">(</span><span class="k">new</span> <span 
class="n">ScpCommandFactory</span><span class="o">(</span><span 
class="k">new</span> <span class="n">CommandFactory</span><span 
class="o">()</span> <span class="o">{</span>
+    <span class="kd">public</span> <span class="n">Command</span> <span 
class="nf">createCommand</span><span class="o">(</span><span 
class="n">String</span> <span class="n">command</span><span class="o">)</span> 
<span class="o">{</span>
+        <span class="k">return</span> <span class="k">new</span> <span 
class="nf">ProcessShellFactory</span><span class="o">(</span><span 
class="n">command</span><span class="o">.</span><span 
class="na">split</span><span class="o">(&lt;</span><span class="n">SPAN</span> 
<span class="n">class</span><span class="o">=</span><span 
class="s">&quot;code-quote&quot;</span><span class="o">&gt;</span><span 
class="s">&quot; &quot;</span><span class="o">)).</span><span 
class="na">create</span><span class="o">();</span>
+    <span class="o">}</span>
+<span class="o">}));</span>
+</pre></div>
+
+
 <p>This way, you can use the following:</p>
-<p><DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent 
panelContent">
-<PRE class="code-java">
-ssh -p 8202 localhost ls -l
-</PRE>
-</DIV></DIV></p>
+<div class="codehilite"><pre><span class="n">ssh</span> <span 
class="o">-</span><span class="n">p</span> <span class="mi">8202</span> <span 
class="n">localhost</span> <span class="n">ls</span> <span 
class="o">-</span><span class="n">l</span>
+</pre></div>
 
                 </div><!-- rightColumn -->
                 <div id="endContent"></div>


Reply via email to