fixed typo

This commit is contained in:
2023-12-21 19:19:57 -06:00
parent 61d6fe75ab
commit a7354483d9

View File

@@ -50,7 +50,7 @@ if [ $isInFile -eq 0 ]
chmod 600 /home/akanealw/.ssh/*
fi
isInFile=$(cat /root/.ssh/authorized_keys | grep -c "gaminpc-root")
isInFile=$(cat /root/.ssh/authorized_keys | grep -c "gamingpc-root")
if [ $isInFile -eq 0 ]
then
echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILMb59HWxAoetRy+Qd0IWrF79z6iwq/JcL2cJ8rRI4Io gamingpc-root" >> /root/.ssh/authorized_keys