aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-23 16:46:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-23 16:46:18 -0300
commitc99d87b0819d7a10b84b371a5f21b75b447f9493 (patch)
tree43b7021dbd1b72dece24974eb536b77fda123563
parent8519a76173341e1fa84d4679c35927495485bb67 (diff)
downloadhydra-c99d87b0819d7a10b84b371a5f21b75b447f9493.tar.gz
hydra-c99d87b0819d7a10b84b371a5f21b75b447f9493.tar.bz2
Change ssh_authorized_key key
-rwxr-xr-xshare/hydra/compile2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/compile b/share/hydra/compile
index 9bd6552..9439f53 100755
--- a/share/hydra/compile
+++ b/share/hydra/compile
@@ -39,7 +39,7 @@ for node in $NODES; do
# SSH public keys
if [ -e "$KEYS/$node/ssh/id_rsa.pub.asc" ]; then
echo "Adding SSH public key for $node..."
- key="compiled::ssh::key::$node"
+ key="ssh_authorized_key::$node"
value="$(keyringer $HYDRA decrypt nodes/$node/ssh/id_rsa.pub 2> /dev/null | cut -d ' ' -f 2)"
echo "$key: '$value'" >> $CONFIG
fi