I'm using JSch in Android to create an SSH connection to execute a command and store in a string the result of this execution. I succeeded, but I have a problem.
If I run a command with "sudo" in the string is NOTHING stored. IN fact what is happening is that the system is asking for the sudo password, but I do not know how to send this command.
Do you know any way to do this?
I hope I explained well.