Crear Servidor SSH en JAVA

"Humberto" <[email protected]>
Newsgroups gmane.comp.java.javaspain
Message-ID <[email protected]>
Saludos,a todos  

Quisiera una orientacion en cuanto a desarrollar un servidor ssh en
java especificamente usando Netbeans 5.5,por mi parte he utilizado el
API J2SSH/SSHTools -- (http://sourceforge.net/projects/sshtools) para
cerar un demonio o servidor que escuche en el puerto 22,el
incoveniente que tengo es para configurarlo.

Ya que me baje el codigo fuente con los archivos .JAVA ---
(http://sourceforge.net/project/downloading.php?group_id=60894&use_mirror=ufpr&filename=j2ssh-0.2.9-src.zip&30044869)...

y tambien el binario .JAR
---(http://sourceforge.net/project/downloading.php?group_id=60894&use_mirror=ufpr&filename=j2ssh-0.2.9-bin.tar.gz&40455059),
pero tengo algunos problemas al insertarlo en mi proyecto de Netbeans
importo el jar como libreria y no sale nigun porblema, asi como
tambien copio la carpeta de clases java a mi /src de mi proyecto y
tambien no tengo errores y puedo usar supuestamente las clases, luego
hay un archivo SSHDaemon.java que es un ejemplo que dan para correr un
servidor ssh , lo compilo y ejecuto y me sale algunos errores que no
permite iniciar el servidor ssh... : 

/*******************************************

08/01/2009 12:49:46 PM
com.sshtools.j2ssh.configuration.ConfigurationLoader initialize
INFO: JAVA version is 1.6.0_06
08/01/2009 12:49:46 PM
com.sshtools.daemon.configuration.ServerConfiguration startElement
ADVERTENCIA: Private key file 'C:\Archivos de
programa\Java\jdk1.6.0_06\jre\conf/stonecold' could not be found
08/01/2009 12:49:47 PM
com.sshtools.j2ssh.configuration.ConfigurationLoader initialize
INFO: Extension C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\dnsns.jar being added to classpath
08/01/2009 12:49:47 PM com.sshtools.j2ssh.util.ExtensionClassLoader add
INFO: Adding C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\dnsns.jar to the extension classpath
08/01/2009 12:49:47 PM
com.sshtools.j2ssh.configuration.ConfigurationLoader initialize
INFO: Extension C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\localedata.jar being added to
classpath
08/01/2009 12:49:47 PM com.sshtools.j2ssh.util.ExtensionClassLoader add
INFO: Adding C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\localedata.jar to the extension
classpath
08/01/2009 12:49:47 PM
com.sshtools.j2ssh.configuration.ConfigurationLoader initialize
INFO: Extension C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\sunjce_provider.jar being added
to classpath
08/01/2009 12:49:47 PM com.sshtools.j2ssh.util.ExtensionClassLoader add
INFO: Adding C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\sunjce_provider.jar to the
extension classpath
08/01/2009 12:49:47 PM
com.sshtools.j2ssh.configuration.ConfigurationLoader initialize
INFO: Extension C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\sunmscapi.jar being added to
classpath
08/01/2009 12:49:47 PM com.sshtools.j2ssh.util.ExtensionClassLoader add
INFO: Adding C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\sunmscapi.jar to the extension
classpath
08/01/2009 12:49:47 PM
com.sshtools.j2ssh.configuration.ConfigurationLoader initialize
INFO: Extension C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\sunpkcs11.jar being added to
classpath
08/01/2009 12:49:47 PM com.sshtools.j2ssh.util.ExtensionClassLoader add
INFO: Adding C:\Archivos de
programa\Java\jdk1.6.0_06\jre\lib\ext\sunpkcs11.jar to the extension
classpath
08/01/2009 12:49:47 PM
com.sshtools.j2ssh.configuration.ConfigurationLoader initialize
INFO: JAVA version is 1.6.0_06
08/01/2009 12:49:47 PM aes.SshDaemon main
GRAVE: The server failed to process the  command
com.sshtools.j2ssh.SshException: Server cannot start because there are
no server host keys available
        at aes.SshServer.<init>(SshServer.java:91)
        at aes.SshDaemon$1.<init>(SshDaemon.java:105)
        at aes.SshDaemon.start(SshDaemon.java:105)
        at aes.SshDaemon.main(SshDaemon.java:76)

/***************************************************

Quisiera ver si alguien de ustedes ha utilizado esta API/ Framework
para desarrollar clientes o servidores ssh en java,, y me orienten
como poder configurarla o de repente otro api mejor que hayan probado.

De Antemano gracias por su tiempo y su ayuda que me sera valiosa.

Atte Humberto :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.