Unix For Testers - 40- Execute Any Unix or Linux command automatically using jsch Java SSH client

Поділитися
Вставка
  • Опубліковано 25 жов 2024

КОМЕНТАРІ • 12

  • @MegaEliots
    @MegaEliots 3 роки тому +1

    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.

  • @ajinkyajoshi1749
    @ajinkyajoshi1749 4 місяці тому

    Hi, If I want to change the directory. then how to achieve it.

  • @prasanthkotagiri3613
    @prasanthkotagiri3613 4 роки тому +1

    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?

  • @rashmitadeka1958
    @rashmitadeka1958 4 роки тому

    Hi I am unable to change directory using jsch ..how to achieve that?

  • @aravindharsh5968
    @aravindharsh5968 4 роки тому

    sudo commands are not working in this method. It is throwing error "sudo: no tty present and no askpass program specified"

    • @ashishprajapati5153
      @ashishprajapati5153 4 роки тому

      stackoverflow.com/questions/21659637/how-to-fix-sudo-no-tty-present-and-no-askpass-program-specified-error

  • @santhyasekar6557
    @santhyasekar6557 4 роки тому

    Hi. I am facing Auth fail exception randomly during a jsch session using password authentication. Can you help?

  • @ravindrasharma1551
    @ravindrasharma1551 Рік тому

    Hi anybody can tell how to pass Y or N argument by using this jsch ???

  • @FirangizRasulova
    @FirangizRasulova Рік тому

    Came to see how to handle hostkeyrepository and seeing that you just set it as not strict -_-

  • @Learning-b8e
    @Learning-b8e Рік тому

    Hi, If I want to change the directory. then how to achieve it.