[Gllug] Passwordless SSH

Nix nix at esperi.org.uk
Wed Sep 7 12:52:21 UTC 2005


On Tue, 6 Sep 2005, Bruce Richardson uttered the following:
> On Mon, Sep 05, 2005 at 11:18:12PM +0100, James wrote:
>> 
>> It does make it a little more awkward to type.
>> 
>> Is there an easier way to append (rather than copy) to a file over a network than:
>> cat | tee -a $file
> 
> Yes, there is and I'm surprised so many people have missed it, given the
> finger-wagging about cat:
> 
> 	ssh remote.host.net 'cat >> somefile' < localfile

*slaps self*

I should have seen that!

-- 
`... published last year in a limited edition... In one of the
 great tragedies of publishing, it was not a limited enough edition
 and so I have read it.' --- James Nicoll
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list