[Gllug] Passwordless SSH

Bruce Richardson itsbruce at uklinux.net
Tue Sep 6 12:38:24 UTC 2005


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


-- 
Bruce

It is impolite to tell a man who is carrying you on his shoulders that
his head smells.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20050906/05275a37/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list