> I'd like to execute several command. > > First i need to open a connection (this i found how to do) then make a "su > - user" then submit another order like "ls" and finally get back the result. > > Do you know how i could do that please ?
Hi Vivien, Will something like sudo -u username ls do what you need? Dave ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users