|
|
@@ -32,6 +32,7 @@ echo "www-data ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff" >> /etc/s |
|
|
|
|
|
|
|
# Autorisation de clefs SSH publiques |
|
|
|
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDbvr8J95SXj0byVhBSOt/iShxzf0TVGKaxvo4d+pdrEaiDFxQEn/Iim9qEH9FXV9kQ8frUuYmVbh7Rqvh8QpTQM77eLHeZgXejw7St0OMmZSGpUsomIANZQNspDQ/qQbXFXmKnGJiC7TCEqaNoDTmHrdZ4Hvei4ly16e8Zic5pjcMruNeixcVkZOLJZWViGgbMlZN8jSll9pFfNRYKhIp6boalK5DexzgUZkUCk4HkPHo0I70LyElINmt9PkpHwzAFbsTRmI27Z9C5xI5OZ86aL+Kq4lm+MoD+f3hDiOdAByNqIEU1LU7tnMpQHbKSYSoVHlySF1+tuw3O1E4HQO45 heuzef@x240" >> /home/allo-gg/.ssh/authorized_keys |
|
|
|
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDkdi/Nt+Remfwx5vM/lBmnTUOQ3+UJtbT4P1P+sOXt0dADUHj7gRvZxfb73n7A8y6rfocDiV4IRf1yvg8JWrAFC7/aDCMYDAOMAld9fKFU7u73beWl0zMSTVSGxt2MTSpyU+POx6VvucWppJQJN8R2VtAPHheUZlpLEf0n2gzgyYEYuHEOPHfx91u3omu4QCYRVWv4ZFRCCvznC2Cd+GW2S8uNqe6oxe2HuXtghAIRO+XXDSfwJc0lsm7uKMJ9rtQMYSYUI0f3HErHArf5ssQMCMcHivdJuoWEmvK2UarQdT5kKlytDUjFMrjj4Ks6+Ew6mdvp6H4/PeRjONaDWOQ3 karimcisse@Karims-MacBook-Air.local" >> /home/allo-gg/.ssh/authorized_keys |
|
|
|
|
|
|
|
# Désactiver toutes authentifications SSH par mot de passe |
|
|
|
echo "PasswordAuthentication no" >> /etc/ssh/sshd_config |
|
|
|