You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by se...@apache.org on 2013/07/16 03:13:28 UTC

svn commit: r1503538 - /mina/site/trunk/content/sshd-project/embedding_ssh.mdtext

Author: sebb
Date: Tue Jul 16 01:13:28 2013
New Revision: 1503538

URL: http://svn.apache.org/r1503538
Log:
Typo reported on mailing list:
http://mail-archives.apache.org/mod_mbox/mina-dev/201306.mbox/%3C298707f72c0a882aeefea61d8503298d%40edesix.com%3E

Modified:
    mina/site/trunk/content/sshd-project/embedding_ssh.mdtext

Modified: mina/site/trunk/content/sshd-project/embedding_ssh.mdtext
URL: http://svn.apache.org/viewvc/mina/site/trunk/content/sshd-project/embedding_ssh.mdtext?rev=1503538&r1=1503537&r2=1503538&view=diff
==============================================================================
--- mina/site/trunk/content/sshd-project/embedding_ssh.mdtext (original)
+++ mina/site/trunk/content/sshd-project/embedding_ssh.mdtext Tue Jul 16 01:13:28 2013
@@ -58,7 +58,7 @@ It's usually a good idea to give the hos
 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.
 
 	:::java
-	sshd.setShellFactory(new ProcessShellFactory(new String[] { "/bin/sh", "-i", "-l" });
+	sshd.setShellFactory(new ProcessShellFactory(new String[] { "/bin/sh", "-i", "-l" }));
 
 Note that the ShellFactory is not required. If none is configured, any request for a shell will be denied to users.