I use the library jkSSH2 with a Raspberry. Everything OK except the fact that I can not run the command
Probably due to the immediate closure of the SSH connection in the sub SSH_CmdExecuted.
How to overcome?
B4X:
SSH2.execCommand("sudo halt", 10)
How to overcome?