Hello there!
I've been using Jsch for several months on a business project, and I've got 
this problem:


When using ChannelExec, I can mock a SUDO execution just like in the Jsch 
examples ( which is using the sudo -S -p '' <command> trick ), it's totally OK 
and working.
However as to ChannelSftp, I can't find any examples showing how to do a SUDO 
put/get (when of course, the sftp user on that linux box has super permission 
and can do sudo ... in the interactive shell ).
Is there a way to do SUDO put/get using ChannelSftp ? if yes, how to do that ? 
Maybe it needs some modification/extension to Jsch source, but is it possible ?


Any advice will be appreciated, thanks in advance.


Aich,
Best Regards
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to