On Wed, Apr 22, 2009 at 06:33, Julien Vermillard <jvermill...@archean.fr>wrote:
> Le Wed, 22 Apr 2009 18:47:18 +0530, > Ashish <paliwalash...@gmail.com> a écrit : > > > Was just curious about using SSHD in a sample application, but > > couldn't found an example. > > Though there is a sample usage in SshClient and SshServer classes. > > > > At a first glance would like to add basic usage documentation there, > > but don't have the write access to wiki. > > First thought : servicemix kernel use it as server console I think. You > can prolly take a look at this code. Gerrit Code Review also uses it. You can browse the server code here: startup and configuration: http://android.git.kernel.org/?p=tools/gerrit.git;a=blob;f=src/main/java/com/google/gerrit/server/ssh/GerritSshDaemon.java;hb=HEAD support classes (public key auth, command factory): http://android.git.kernel.org/?p=tools/gerrit.git;a=tree;f=src/main/java/com/google/gerrit/server/ssh;hb=HEAD