I do not think this as jsch issue . I am using sudo some-command. I think you need configuring the sudoer .
Thanks ________________________________ From: Haidong Zhu <[email protected]> To: [email protected] Sent: Thu, April 29, 2010 5:14:31 PM Subject: [JSch-users] About sudo I tried to run something like "sudo ls /etc" using jsch, but it does not work, if i remove the "sudo", it works fine. Does jsch support run sudo command on remote host? ------------------------------------------------------------------------------ _______________________________________________ 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
