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