# server @results = <CMD>; print CLIENT @results; # client print SOCKET $cmd; @results = <SOCKET>;
Why do you have a separate server and client? Since they are running on the same machine, wouldn't it be easier to just have the client script do the ssh command? The only reason I can think of is that the server script is running as a different user with ssh privledges.
In reply to Re^3: a dumb socket question
by iburrell
in thread a dumb socket question
by rhxk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |