Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 7.1 #18

Closed
ezjohnson opened this issue Oct 25, 2016 · 3 comments
Closed

Android 7.1 #18

ezjohnson opened this issue Oct 25, 2016 · 3 comments

Comments

@ezjohnson
Copy link

Looks like something changed in android 7 or 7.1 that breaks the app. Connecting to host works but commands don't get there.

@bradand
Copy link
Owner

bradand commented Oct 25, 2016

yes you are right and I am able to reproduce the problem:

'com.jcraft.jsch.JSchException: session is down'

currently looking for a solution

@bradand
Copy link
Owner

bradand commented Oct 26, 2016

Update: The problem seems to be caused by the "shell" channel intended to be left open during the whole session. As the app runs the initial command with a shell channel, the session breaks immediately. I able to perform normal operations as well as xdotool operations with "exec" channels, but those are opened and closed immediately.

still working...

@bradand
Copy link
Owner

bradand commented Oct 26, 2016

it seems I have found a solution to restore connectivity for Android >6.0:

my answer / addition is in this thread:

http://stackoverflow.com/questions/38144133/android-n-with-jsch-shell-channel-issue/40270446#40270446

I will publish a new version of the app soon

@bradand bradand closed this as completed Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants