Send DTD on the resource repository through ssh

From Armagetron
Revision as of 16:25, 7 August 2006 by Philippeqc (talk | contribs) (How to send a DTD on the resource repository through ssh)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This node is only of use for a very smart target. Be advised.

The various steps

a) Ask Luke-Jr for an account b) provide a certificate to Luke-Jr to avoid password login (optional) b) ssh hachi.dashjr.org c) sudo -u armagetronad cp /tmp/somefile.dtd /var/www/armagetron/resource/resource/AATeam/somefile.dtd

or rather


tar cf - <in file> | ssh philippeqc@hachi.dashjr.org "tar xf -; sudo -u armagetronad cp <in file> /var/www/armagetron/resource/resource/AATeam/<out file>"