• [^] # Re: Logs serveur

    Posté par . En réponse au message SSH cassé: "client_input_hostkeys: no new or deprecated keys from server". Évalué à 1.

    Merci pour l'idée!

    En comparant avec une connexion qui se passe bien je peux voir que tout se passe bien la:

    juin 19 21:55:47 the-machine sshd[213922]: Accepted password for Goldorak from 192.168.1.183 port 38048 ssh2
    juin 19 21:55:47 the-machine sshd[213922]: debug1: monitor_child_preauth: user Goldorak authenticated by privileged process
    juin 19 21:55:47 the-machine sshd[213922]: debug1: monitor_read_log: child log fd closed
    juin 19 21:55:47 the-machine sshd[213922]: debug1: PAM: establishing credentials
    juin 19 21:55:47 the-machine sshd[213922]: pam_unix(sshd:session): session opened for user Goldorak(uid=1001) by (uid=0)
    juin 19 21:55:48 the-machine sshd[213922]: User child is on pid 213949
    juin 19 21:55:48 the-machine sshd[213922]: debug1: session_new: session 0
    juin 19 21:55:48 the-machine sshd[213922]: debug1: SELinux support disabled
    

    Et que la suite n'est pas normale:

    juin 19 21:55:48 the-machine sshd[213922]: debug1: do_cleanup
    juin 19 21:55:48 the-machine sshd[213922]: debug1: PAM: cleanup
    juin 19 21:55:48 the-machine sshd[213922]: debug1: PAM: closing session
    juin 19 21:55:48 the-machine sshd[213922]: pam_unix(sshd:session): session closed for user Goldorak
    juin 19 21:55:48 the-machine sshd[213922]: debug1: PAM: deleting credentials
    juin 19 21:55:48 the-machine sshd[213922]: debug1: temporarily_use_uid: 1001/1001 (e=0/0)
    juin 19 21:55:48 the-machine sshd[213922]: debug1: restore_uid: 0/0
    juin 19 21:55:48 the-machine sshd[213922]: debug1: session_pty_cleanup2: session 0 release /dev/pts/0
    juin 19 21:55:48 the-machine sshd[213922]: debug1: audit_event: unhandled event 12
    

    Il s'avère que c'est ce qui arrive quand on se trompe de masque de sous réseau. J'ai mis un CDR de 25 au lieu de 24...

    Le problème est réglé.