I need to issue several commands on a remote system and perform
processing on the local system. I was using rsh but now considering the
use of openssh. With rsh, I would issue each command with a new rsh
command which has a lot of overhead. I would like a method where I
could leave the connection open and issue the commands as needed. Is
there an easy method for doing this with openssh? Can I assign STDIN &
STDOUT to named pipes and use these named pipes to send commands and
receive responses?
I'm new to openssh. Even better would be if I could issue multiple
commands at the same time. Is there a method using different channels
in openssh that I could use? Is it better to single thread the
commands?
Are there better, easier to implement open products that I have not
considered?
Thanks for any suggestions
|