Be specific about the key you want to generate.

This commit is contained in:
Cyteen May 2020-02-26 16:00:20 +00:00
parent 45afdd6905
commit 7858ce237b
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ if [ -f ${HOME}/.ssh/id_rsa.pub ]; then
exit 0
else
echo "Generating ssh keys."
ssh-keygen -A
ssh-keygen -q -t rsa -N '' -f ${HOME}/.ssh/id_rsa 2>/dev/null <<< y >/dev/null
fi
EOF
@ -17,6 +17,6 @@ chmod +x ${DEST}/.zprofile
ssh-keygen -A
# Root user keys
ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa 2>/dev/null <<< y >/dev/null
ssh-keygen -q -t rsa -N '' -f ${HOME}/.ssh/id_rsa 2>/dev/null <<< y >/dev/null