Fix config openssh-server

debian-cd
Sophie Brun 10 years ago
parent 9eeb33247b
commit f5a93ed729

@ -0,0 +1,7 @@
#!/bin/sh
# Allow PasswordAuthentification in sshd config
sed -i -e 's|\(PasswordAuthentication\) no|\1 yes|' /etc/ssh/sshd_config
# Do not allow root login without password
sed -i -e 's|\(PermitRootLogin\) without-password|\1 yes|' /etc/ssh/sshd_config
Loading…
Cancel
Save