jonghough/AndroidSSH

Connection successful but cannot execute commands

Opened this issue · 0 comments

The client successfully connects (because the connection is made in a Runnable: com.ranosoft.musicpiayer.ssh.SessionController.SshRunnable), but then trying to execute a command fails in com.jgh.androidssh.sshutils.ShellController#openShell on mChannel.connect() due to android.os.NetworkOnMainThreadException.