9

Command pipeline trouble

view full story
linux-howto

http://www.unix.com – Hello, I am attempting to ssh to a server and run a set of commands on a remote set of servers. I am getting the following error below, I am thinking quotes may be the problem. This command works on the local machine in bash. Not when I ssh to a remote server. Basically the command should replace a portion of a string in /etc/rc.local then kill a process, then using the replaced string in rc.local use grep to set a variable (the first half of the string is different on servers) to run it. Hope that is explained well enough. ERROR: This happens only when I use ssh to remote server. (HowTos)