check-ssh-keys: Use extended regex to actually disable password auth

This makes the sed commands actually do the work they were intended to do.

Change-Id: Ie9311cb13be0210ffad91da6bab244e5469221e7
diff --git a/etc/runonce.d/03-check-ssh-keys b/etc/runonce.d/03-check-ssh-keys
index 05e0097..7d37afd 100755
--- a/etc/runonce.d/03-check-ssh-keys
+++ b/etc/runonce.d/03-check-ssh-keys
@@ -1,8 +1,8 @@
 #!/bin/bash
 
-sed -e's/^#?PasswordAuthentication.*/PasswordAuthentication no/g' -i /etc/ssh/sshd_config
-sed -e's/^#?ChallengeResponseAuthentication.*/ChallengeResponseAuthentication no/g' -i /etc/ssh/sshd_config
-sed -e's/^#?PermitRootLogin.*/PermitRootLogin no/g' -i /etc/ssh/sshd_config
+sed -re's/^#?PasswordAuthentication.*/PasswordAuthentication no/g' -i /etc/ssh/sshd_config
+sed -re's/^#?ChallengeResponseAuthentication.*/ChallengeResponseAuthentication no/g' -i /etc/ssh/sshd_config
+sed -re's/^#?PermitRootLogin.*/PermitRootLogin no/g' -i /etc/ssh/sshd_config
 
 rm -f /etc/ssh/ssh_host_*
 test -f /etc/ssh/ssh_host_dsa_key || dpkg-reconfigure openssh-server