fixed typo
This commit is contained in:
2
debian/debian-configure-sshd.sh
vendored
2
debian/debian-configure-sshd.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user