Author: buildbot
Date: Tue Jul 16 01:13:33 2013
New Revision: 869631
Log:
Staging update by buildbot for mina
Modified:
websites/staging/mina/trunk/content/ (props changed)
websites/staging/mina/trunk/content/sshd-project/embedding_ssh.html
Propchange: websites/staging/mina/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Jul 16 01:13:33 2013
@@ -1 +1 @@
-1439512
+1503538
Modified: websites/staging/mina/trunk/content/sshd-project/embedding_ssh.html
==============================================================================
--- websites/staging/mina/trunk/content/sshd-project/embedding_ssh.html
(original)
+++ websites/staging/mina/trunk/content/sshd-project/embedding_ssh.html Tue Jul
16 01:13:33 2013
@@ -137,7 +137,7 @@ If you want a different behavior, you ca
<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>
-<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">"/bin/sh"</span><span
class="o">,</span> <span class="s">"-i"</span><span
class="o">,</span> <span class="s">"-l"</span> <span
class="o">});</span>
+<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">"/bin/sh"</span><span
class="o">,</span> <span class="s">"-i"</span><span
class="o">,</span> <span class="s">"-l"</span> <span
class="o">}));</span>
</pre></div>