aboutsummaryrefslogtreecommitdiffstats
path: root/tools/init-sshkeys.sh
diff options
context:
space:
mode:
authorJoachim Tingvold <joachim@tingvold.com>2015-03-21 18:40:28 +0100
committerJoachim Tingvold <joachim@tingvold.com>2015-03-21 18:40:28 +0100
commitd5c0e6ac02bd4bb1832434ef3fa502a21ac48432 (patch)
tree9f754351c81d4ee1ffd1526823842b52bbd0f054 /tools/init-sshkeys.sh
parent6bf0be13c4ac46f612251eb13cf2b23f94441cc5 (diff)
Bootstrap-related files get it's own directory
Diffstat (limited to 'tools/init-sshkeys.sh')
-rwxr-xr-xtools/init-sshkeys.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/init-sshkeys.sh b/tools/init-sshkeys.sh
deleted file mode 100755
index 9427bad..0000000
--- a/tools/init-sshkeys.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-set -e
-
-source include/tgmanage.cfg.sh
-if [ -z ${PRIMARY} ]
-then
- echo "Not configured!";
- exit 1;
-fi;
-
-ssh-keygen -P '' -f ~/.ssh/id_rsa -b 2048
-ssh-copy-id root@${PRIMARY}
-ssh-copy-id root@${SECONDARY}