Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

execute confirmable commands

Mike
2013-10-07
2013-10-07
  • Mike
    Mike
    2013-10-07

    Is there any way to use Jsch to execute command that requires the confirmation, like the following:

    reboot
    Please confirm (y/n)? y

    Didn't find either any answer on this or the documentation on how to do it.