mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SSHD-369) Cannot start sshd in android with SSHD version > 0.8.0
Date Mon, 17 Dec 2018 12:52:00 GMT

     [ https://issues.apache.org/jira/browse/SSHD-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Goldstein Lyor closed SSHD-369.
-------------------------------
    Resolution: Unresolved

Please test with latest version (2.1.0) + the Android SSL security provider.

> Cannot start sshd in android with SSHD version  > 0.8.0
> -------------------------------------------------------
>
>                 Key: SSHD-369
>                 URL: https://issues.apache.org/jira/browse/SSHD-369
>             Project: MINA SSHD
>          Issue Type: Question
>    Affects Versions: 0.9.0
>         Environment: Android 4.2.2, mina 2.0.7, sshd 0.9.0
>            Reporter: James Zhu
>            Priority: Major
>
> version 0.9.0, and i test other versions, v0.8.0 can work, 0.12.0 cannot work.
> It carsh when call ssh.start(),
> error log :
> 01-02 08:53:48.980: W/dalvikvm(7200): threadid=1: thread exiting with uncaught exception
(group=0x40dca930)
> 01-02 08:53:48.980: E/AndroidRuntime(7200): FATAL EXCEPTION: main
> 01-02 08:53:48.980: E/AndroidRuntime(7200): java.lang.IllegalStateException: Could not
find a valid sshd io provider
> 01-02 08:53:48.980: E/AndroidRuntime(7200): 	at org.apache.sshd.common.io.DefaultIoServiceFactory.newInstance(DefaultIoServiceFactory.java:60)
> 01-02 08:53:48.980: E/AndroidRuntime(7200): 	at org.apache.sshd.common.io.DefaultIoServiceFactory.createAcceptor(DefaultIoServiceFactory.java:39)
> 01-02 08:53:48.980: E/AndroidRuntime(7200): 	at org.apache.sshd.SshServer.createAcceptor(SshServer.java:375)
> 01-02 08:53:48.980: E/AndroidRuntime(7200): 	at org.apache.sshd.SshServer.start(SshServer.java:301)
> 01-02 08:53:48.980: E/AndroidRuntime(7200): 	at com.github.stepinto.asshd.MainActivity.onStartButtonClicked(MainActivity.java:70)
> 01-02 08:53:48.980: E/AndroidRuntime(7200): 	at com.github.stepinto.asshd.MainActivity.access$0(MainActivity.java:54)
> 01-02 08:53:48.980: E/AndroidRuntime(7200): 	at com.github.stepinto.asshd.MainActivity$1.onClick(MainActivity.java:45)
> this app is compiled by JDK 1.6, someone said "SSHD requires mina when running on JDK
< 7", so i add the MINA jars, but it still doesn't work.
> Here is my classpath:
> <?xml version="1.0" encoding="UTF-8"?>
> <classpath>
> 	<classpathentry kind="src" path="src"/>
> 	<classpathentry kind="src" path="gen"/>
> 	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
> 	<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/bcprov-jdk15-140.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/log4j-1.2.17.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/mina-core-2.0.7.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/mina-example-2.0.7.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/mina-filter-compression-2.0.7.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/mina-integration-beans-2.0.7.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/mina-integration-jmx-2.0.7.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/mina-integration-ognl-2.0.7.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/mina-integration-xbean-2.0.7.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/mina-statemachine-2.0.7.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/mina-transport-apr-2.0.7.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/slf4j-api-1.6.4.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/slf4j-simple-1.6.4.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/sshd-core-0.9.0.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/sshd-pam-0.9.0.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/sshd-sftp-0.9.0.jar"/>
> 	<classpathentry kind="lib" path="D:/workspace/sshservertest/libs/tomcat-apr-5.5.23.jar"/>
> 	<classpathentry kind="output" path="bin/classes"/>
> </classpath>
> Is there anything i lost??
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message