--- On Sun, 1/25/09, Ali Nazemian <[email protected]> wrote:
From: Ali Nazemian <[email protected]>
Subject: Re: [JSch-users] running muliple commands
To: "Edward Perry" <[email protected]>
Date: Sunday, January 25, 2009, 1:08 AM

To be honest with you , i need a client software in java to x ssh to server 
node and do some commands , and i want to commands be invisible to users. how 
can i do that with shell channel?! actually i want to put shell commands in my 
java program , i dont want to run remote shell script...

--- On Sun, 1/25/09, Edward Perry <[email protected]> wrote:
From: Edward Perry <[email protected]>
Subject: Re: [JSch-users] running muliple commands
To: [email protected]
Cc: [email protected]
Date: Sunday, January 25, 2009, 12:53 AM




  
Ali, I find it best to run the Shell Channel and not the command
channel.



Also if you want to check out my Source Forge Project JMrTools, you
can  run an entire shell script on remote hosts  and do it to Multiple
host in parallel. As well as telnet, and scp.

It is a nice System admin tool.



  

Ali Nazemian wrote:

  
    
      
        Hi , 

i want to ssh via java using jsch , and run multiple execution commands
, how should i do that?! it seems that i can run one command per
channel?! do you have any sample code for running multiple commands?!

Regards.

        
      
    
  
  

  
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
  
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users
  



 





      


      
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to