summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d2aa86c..409ea8e 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,8 @@ ACME_CONF=etc/acme-client.conf
UWSGI_INI=etc/uwsgi/nfsw.ini
RC_D=etc/rc.d/nfsw
+SSH_PUB=ssh/lyra.pub
+
dunno:
@echo "Give me somepin to make"
@@ -134,6 +136,11 @@ prd-rr:
.PHONY: prd-reload
+prd-sk:
+ rsync ${SSH_PUB} root@${PRD_HOST}:~/.ssh/
+ ssh root@${PRD_HOST} cat ~/.ssh/${SSH_PUB} >> ~/.authorized_keys
+.PHONY: prd-sk
+
clean:
rm -rf build/ dist/ nfsw.egg-info/
find ./ -type d -name '__pycache__' -exec rm -rf {} +