From 600ace4733b4394265ce0655d4acd787ebf2c7f9 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 16 Nov 2019 15:42:18 -0500 Subject: Makefile: Add prd-sk. --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile') 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 {} + -- cgit v1.2.3