Skip to content
Snippets Groups Projects
Commit 9ffb2b23 authored by Bob Mottram's avatar Bob Mottram
Browse files

Changing ssh server config

parent bbae1779
No related branches found
No related tags found
No related merge requests found
......@@ -43,9 +43,9 @@ function configure_ssh {
if ! grep -q 'RhostsRSAAuthentication' /etc/ssh/sshd_config; then
echo 'RhostsRSAAuthentication yes' >> /etc/ssh/sshd_config
else
sed -i 's|#RhostsRSAAuthentication.*|RhostsRSAAuthentication yes|g' /etc/ssh/sshd_config
fi
sed -i 's|#RhostsRSAAuthentication.*|RhostsRSAAuthentication yes|g' /etc/ssh/sshd_config
sed -i 's|RhostsRSAAuthentication.*|RhostsRSAAuthentication yes|g' /etc/ssh/sshd_config
sed -i 's|#StrictModes.*|StrictModes yes|g' /etc/ssh/sshd_config
sed -i 's|StrictModes.*|StrictModes yes|g' /etc/ssh/sshd_config
sed -i 's|#KerberosAuthentication.*|KerberosAuthentication no|g' /etc/ssh/sshd_config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment