Is there no way to connect remote host with a user and when connected made a 'su - user2' command (command that need to give a password) without asking anything to the application user ?

I begin to believe it's impossible.

Thanks for your help.


Le 24 avr. 2010 à 01:47, Keith Alan Richardson <[email protected]> a écrit :

There is no documentation.   Look at the examples directory

For running commands remotely, even su, look at Exec.java in the examples directory

On Apr 23, 2010 2:41 PM, "Vivien Duparc" <[email protected]> wrote:

Hi,

I'm a new user of api jsch and i have two question please

First, is There any doc anywhere ? Or the only help for beginner are
examples ?

Second, do you know how to execute an su command please ?

Thx.


--- --- --- ---------------------------------------------------------------------
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

------------------------------------------------------------------------------
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to