diff --git a/renewkeys.sh b/renewkeys.sh index e8789bb..6d36762 100644 --- a/renewkeys.sh +++ b/renewkeys.sh @@ -177,7 +177,9 @@ echo -e ${C_YELLOW}Warning: running this script resets known_hosts file. Abort t sleep 3 rm /home/$USER/.ssh/known_hosts rm /root/.ssh/known_hosts +if [ ! -f ".SSH/.temp" ]; then mkdir /.SSH/.temp +fi if [ "$PC" = "pve01" ] then verifycdn