dllhxll opened a new issue, #322:
URL: https://github.com/apache/mina-sshd/issues/322
### Version
2.9.2
### Bug description
I try to used mina sshd in Android but I have some problems:
1. in LazyDefaultUserHomeFolderHolder, the path is read from
System.getProperty("user.home"). But in Android,
System.getProperty("user.home") is null. Will this be a problem?
2. in ExceptionUtils, sshd uses class javax.management.MBeanException and
javax.management.ReflectionException. But they don't exist on Android.
Can mina sshd be used in Android? Or is there any android version of sshd
can be used in Android?
### Actual behavior
1. I change System.getProperty("user.home") to
Environment.getExternalStorageDirectory().getAbsolutePath(). Otherwise, sshd
can not connect to server.
### Expected behavior
sshd can run in android
### Relevant log output
_No response_
### Other information
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]