I've used this SSH with JSCH in my android project. But I want to run two commands for example:
$ cd Desktop
$ ls
Ive already tried to append more strings in one Method but it didn
t help...
so how can I do this?
I've used this SSH with JSCH in my android project. But I want to run two commands for example:
$ cd Desktop
$ ls
Ive already tried to append more strings in one Method but it didn
t help...
so how can I do this?
Well I solved the issue. Just for other people searching for the question I wanted to let you know, that you can easily Add a new Command with
.addCommand("newCommand")