diff --git a/config/rootfiles/core/94/update.sh b/config/rootfiles/core/94/update.sh index e2005af01..7dca2a1fd 100644 --- a/config/rootfiles/core/94/update.sh +++ b/config/rootfiles/core/94/update.sh @@ -44,7 +44,7 @@ extract_files # Update SSH configuration sed -i /etc/ssh/sshd_config \ - -e 's/^#\?PermitRootLogin .*$/PermitRootLogin yes/' + -e 's/^#PermitRootLogin yes$/PermitRootLogin yes/' # Move away old and unsupported keys mv -f /etc/ssh/ssh_host_dsa_key{,.old}