How to Execute "pbrun pbapp hostuser=bash" using JSCH API?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajujrk
    New Member
    • Aug 2008
    • 107

    How to Execute "pbrun pbapp hostuser=bash" using JSCH API?

    Hi,

    I can login into the unix box using jsch with the normal user, i need to change the user with the below command as "pbrun pbapp hostuser=bash" and also enter the prompt password automatically using jsch API. Can anyone please give an idea or sample.

    Thanks in Advance,
    Raju
Working...