[mdlug] Remote shell scripts via ssh?

Ingles, Raymond Raymond.Ingles at compuware.com
Fri Mar 2 14:21:56 EST 2007


> From: Flavio daCosta

> ssh user at host "set arg1 arg2 arg3; `cat demo.sh`"

 Not when hooking up to a Solaris box:

---------------------
UNIX95=true: Command not found
export: Command not found
TOP10=`cat top10.tmp`: Ambiguous
TOP10: Undefined variable
Biggest:
25.0 /usr/local/ccm/merge/bin/mergeahead
 0.4 fsflush
 0.3 /opt/OBSDssh/sbin/sshd
 0.2 /usr/sbin/nis_cachemgr
 0.1 ps
 0.1 mibiisa
 0.1 csh
 0.1 /usr/sbin/nscd
 0.1 /usr/dt/bin/dtlogin
 0.0 xterm
MAXIE=: Command not found
MAXIE: Undefined variable
---------------------

 Sincerely,

 Ray Ingles                                                 (313) 227-2317

 "When a religion is good, I conceive it will support itself; and when it 
 does not support itself, and God does not take care to support it so that
  its professors are obliged to call for help of the civil power, 'tis a
     sign, I apprehend, of its being a bad one." -- Benjamin Franklin
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 



More information about the mdlug mailing list