fix: enable PermitRootLogin for SSH key access
This commit is contained in:
@@ -41,6 +41,9 @@ if [ ! -f /root/.gitconfig ]; then
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Allow root login via SSH key
|
||||||
|
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
|
||||||
|
|
||||||
# Start SSH daemon
|
# Start SSH daemon
|
||||||
/usr/sbin/sshd
|
/usr/sbin/sshd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user