Why does the channel connect AFTER setting the command? I intuitively thought you would connect, and then run some commands with setcommand, and then disconnect.
@prasanthkotagiri36134 жыл бұрын
Hi anyone, When i am using the above code for executing commands. The command will take time 2 to 3 minutes so in this case eclipse is hanging infinitely and nothing is showing in console. any specific wait we need to keep for the commands which take time?
@Learning-b8e Жыл бұрын
Hi, If I want to change the directory. then how to achieve it.
@rashmitadeka19585 жыл бұрын
Hi I am unable to change directory using jsch ..how to achieve that?
@aravindharsh59685 жыл бұрын
sudo commands are not working in this method. It is throwing error "sudo: no tty present and no askpass program specified"