On Sat, Oct 31, 2009 at 07:56:28PM +0100, Moritz Wilhelmy wrote:
On Sat, Oct 31, 2009 at 06:43:39PM +0000, Anselm R Garbe wrote:
Can't you do something like this (connecting with ssh to the satellite
for just a command):

ssh u...@sat 'cat >> /some/file.txt' < file.txt

Isn't it "ssh u...@foo cat '>>' /some/file.txt < file.txt"?

It actually doesn't make a difference. ssh just concatenates its arguments into a single string and passes them to the shell.

--
Kris Maglione

He hoped and prayed that there wasn't an afterlife.  Then he realized
there was a contradiction involved here and merely hoped that there
wasn't an afterlife.
        --Douglas Adams


Reply via email to