• # Interdire les autres méthodes

    Posté par . En réponse au message config ssh par clef uniquement ?. Évalué à 3.

    Si j'ai bien saisi ce que tu veux, il suffit d'interdire toutes les autres méthodes d'authentification que par clef RSA. Quelque chose du genre :

    Protocol 2
    PubkeyAuthentication yes
    HostbasedAuthentication no
    PasswordAuthentication no
    ChallengeResponseAuthentication no
    KerberosAuthentication no
    PAMAuthenticationViaKbdInt no

    Puis "PermitRootLogin forced-commands-only" pour ta sauvegarde via rsync.


    Non ?