Send DTD on the resource repository through ssh
From Armagetron
This node is only of use for a very smart target. Be advised.
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
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>"
or maybe (tar sucks!)
cat <in file> | ssh <user>@hachi.dashjr.org "sudo -u armagetronad cat >/var/www/armagetron/resource/resource/AATeam/<out file>"