Je l'ai fait (sur mon Mac), j'ai la flemme de le rallumer là, par contre sur WSL ça donne :
debug1: Found key in /home/aliocha/.ssh/known_hosts:5
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/aliocha/.ssh/id_rsa
debug1: Will attempt key: /home/aliocha/.ssh/id_dsa
debug1: Will attempt key: /home/aliocha/.ssh/id_ecdsa
debug1: Will attempt key: /home/aliocha/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/aliocha/.ssh/id_ed25519
debug1: Will attempt key: /home/aliocha/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/aliocha/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,[email protected],ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected]>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/aliocha/.ssh/id_rsa
debug1: Trying private key: /home/aliocha/.ssh/id_dsa
debug1: Trying private key: /home/aliocha/.ssh/id_ecdsa
debug1: Trying private key: /home/aliocha/.ssh/id_ecdsa_sk
debug1: Trying private key: /home/aliocha/.ssh/id_ed25519
debug1: Trying private key: /home/aliocha/.ssh/id_ed25519_sk
debug1: Trying private key: /home/aliocha/.ssh/id_xmss
debug1: No more authentication methods to try.
[email protected]: Permission denied (publickey).
Merci pour le conseil, ça balance carrément plus que dans les logs. Là j'ai l'impression que j'ai un problème de chmod en local alors que je me suis pris la tête à changer toutes les permissions en remote. Je vais y passer deux heures de plus demain*, mais merci !
Ou alors je vais en avoir marre et tout foutre en 777, fuck la sécurité et les bonnes pratiques.