Desactivation de la connexion ssh par mot de passe

L'idée est de passer de #PasswordAuthentication yes à PasswordAuthentication no dans /etc/ssh/sshd_config Pour cela, après test, ce sed fonctionn sed -ie 's/^[#\s]PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config

Closes #12 (closed)

Merge request reports

Loading