.
This commit is contained in:
@ -16,8 +16,8 @@ check_bastionkey () {
|
|||||||
if [ ! -f ${BASTIONKEY} ]
|
if [ ! -f ${BASTIONKEY} ]
|
||||||
then
|
then
|
||||||
ssh-keygen -o -a 100 -t ed25519 -f ${BASTIONKEY} -N "" -C bastion@${NAME}
|
ssh-keygen -o -a 100 -t ed25519 -f ${BASTIONKEY} -N "" -C bastion@${NAME}
|
||||||
cp -p ${BASTIONKEY}.pub ${KEYSTORE}/_b${NAME}${LAST}.pub
|
cp -p ${BASTIONKEY}.pub ${KEYSTORE}/_b${NAME}.pub
|
||||||
cp -p ${BASTIONKEY}.pub ${KEYSTORE}/_d${NAME}${LAST}.pub
|
cp -p ${BASTIONKEY}.pub ${KEYSTORE}/_d${NAME}.pub
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ check_rsynckey () {
|
|||||||
if [ ! -f ${RSYNCKEY} ]
|
if [ ! -f ${RSYNCKEY} ]
|
||||||
then
|
then
|
||||||
ssh-keygen -o -a 100 -t ed25519 -f ${RSYNCKEY} -N "" -C rsync@${NAME}
|
ssh-keygen -o -a 100 -t ed25519 -f ${RSYNCKEY} -N "" -C rsync@${NAME}
|
||||||
cp -p ${RSYNCKEY}.pub ${KEYSTORE}/_r${NAME}${LAST}.pub
|
cp -p ${RSYNCKEY}.pub ${KEYSTORE}/_r${NAME}.pub
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ check_vibblerkey () {
|
|||||||
if [ ! -f ${VIBBLERKEY} ]
|
if [ ! -f ${VIBBLERKEY} ]
|
||||||
then
|
then
|
||||||
ssh-keygen -o -a 100 -t ed25519 -f ${VIBBLERKEY} -N "" -C vibbler@${NAME}
|
ssh-keygen -o -a 100 -t ed25519 -f ${VIBBLERKEY} -N "" -C vibbler@${NAME}
|
||||||
cp -p ${VIBBLERKEY}.pub ${KEYSTORE}/_v${NAME}${LAST}.pub
|
cp -p ${VIBBLERKEY}.pub ${KEYSTORE}/_v${NAME}.pub
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user