All I really need to do is append a remote file, and this works great. 
One more thing, is there a was to pass a password or use a password file
so that I don't get prompted for a password after I execute the command?

> On Thu, Sep 05, 2002 at 11:04:32AM -0500, Clay Fandre wrote:
>> If you just need to append data remotely, you can use an ssh pipe and
>> perl:
>>
>> echo text | ssh remotemachine "perl -we 'print <STDIN>' >> remotefile"
>
> Why add perl to the mix?  The shell can do this just as well.
>
> echo "This is a test" | ssh logger at remotemachine 'cat >> remotefile'
>
> Nate
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul,
> Minnesota http://www.mn-linux.org
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list