blob: 8ac20aca80755c2f9edf2e1e430856f97a78bb22 [file] [log] [blame]
#!/bin/bash
rm -f /etc/ssh/ssh_host_*
sed -e's/^#?PasswordAuthentication.*/PasswordAuthentication no/g' -i /etc/ssh/sshd_config
test -f /etc/ssh/ssh_host_dsa_key || dpkg-reconfigure openssh-server