Networking Forums

Networking Forums > Computer Networking > Linux Networking > openssh to issue remote commands

Reply
Thread Tools Display Modes

openssh to issue remote commands

 
 
Jon_P
Guest
Posts: n/a

 
      08-06-2005, 12:02 AM
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

 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      08-06-2005, 05:36 AM
On 5 Aug 2005 17:02:10 -0700, Jon_P
<(E-Mail Removed)> wrote:
> 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?


xterm -e ssh hostname &
or "screen ssh hostname" if you prefer.

> Can I assign STDIN & STDOUT to named pipes and use these named pipes
> to send commands and receive responses?
>

That could be another way to do it.


--
Tonight you will pay the wages of sin; Don't forget to leave a tip.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote SSH commands Dani Camps Linux Networking 3 10-23-2005 01:05 PM
Rmail user groups. Rmail. emacs. spamassassin headers. emacs commands. Rmail commands. whitelist. dsaklad@zurich.csail.mit.edu Linux Networking 0 08-06-2005 11:00 PM
cannot forward X11 after upgrading to openssh-3.8p1 Naota Hashimoto Linux Networking 2 05-17-2004 05:37 PM
Portable openssh. Gladiator Linux Networking 15 10-06-2003 07:16 PM
using remote commands through a router - can anyone help? flash Windows Networking 0 08-02-2003 10:40 AM



1 2 3 4 5 6 7 8 9 10 11