Android Question Library jkSSH2 and command "sudo halt"

AlpVir

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