Difference between revisions of "Send DTD on the resource repository through ssh"
From Armagetron
Philippeqc (talk | contribs) (How to send a DTD on the resource repository through ssh) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
This node is only of use for a very smart target. Be advised. | This node is only of use for a very smart target. Be advised. | ||
− | + | Note, you must already be an Armagetron developer to do this. Other people can submit DTDs manually by emailing them to luke_aaresource@dashjr.org | |
− | + | == The various steps == | |
− | + | ||
− | + | # Ask Luke-Jr for an account | |
− | + | # provide a certificate to Luke-Jr to avoid password login (optional) | |
+ | # ssh hachi.dashjr.org | ||
+ | # sudo -u armagetronad cp /tmp/somefile.dtd /var/www/armagetron/resource/resource/AATeam/somefile.dtd | ||
or rather | or rather | ||
+ | ssh <user>@hachi.dashjr.org "sudo -u armagetronad tee /var/www/armagetron/resource/resource/AATeam/name-version.dtd" <name-version.dtd | ||
− | + | [[Category:Development]] |
Latest revision as of 19:31, 23 August 2021
This node is only of use for a very smart target. Be advised.
Note, you must already be an Armagetron developer to do this. Other people can submit DTDs manually by emailing them to luke_aaresource@dashjr.org
The various steps
- Ask Luke-Jr for an account
- provide a certificate to Luke-Jr to avoid password login (optional)
- ssh hachi.dashjr.org
- sudo -u armagetronad cp /tmp/somefile.dtd /var/www/armagetron/resource/resource/AATeam/somefile.dtd
or rather
ssh <user>@hachi.dashjr.org "sudo -u armagetronad tee /var/www/armagetron/resource/resource/AATeam/name-version.dtd" <name-version.dtd