Bonjour Marisol, je me connecte en ssh sur les clusters gpu (d'abord sur lipnssh puis sur lipn-gpu) pour lancer des calculs. J'avais configuré ssh pour que les authentifications se fassent par clé, ce qui me permettait de ne pas avoir à entrer mon mot de passe (deux fois) pour chaque connexion. Tout cela marchait parfaitement depuis des années jusqu'à récemment (3 jours ?). À nouveau ssh me demande mes deux mots de passe pour me connecter, comme s'il ignorait la présence des clés publiques dans les répertoires .ssh Je mets le log d'une connexion à lipnssh ci-dessous. On voit que la clé "/Users/josephleroux/.ssh/id_rsa" est reconnue. Il y a un "offering" mais il y a visiblement un problème car ensuite on passe à la méthode "password". As-tu une idée ? Merci d'avance, Joseph ssh -v lipnssh OpenSSH_8.6p1, LibreSSL 3.3.6 debug1: Reading configuration data /Users/josephleroux/.ssh/config debug1: /Users/josephleroux/.ssh/config line 46: Applying options for lipnssh debug1: /Users/josephleroux/.ssh/config line 124: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files debug1: /etc/ssh/ssh_config line 54: Applying options for * debug1: /etc/ssh/ssh_config line 58: Applying options for * debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling debug1: Connecting to lipnssh.univ-paris13.fr port 22. debug1: Connection established. debug1: identity file /Users/josephleroux/.ssh/id_rsa type 0 debug1: identity file /Users/josephleroux/.ssh/id_rsa-cert type -1 debug1: identity file /Users/josephleroux/.ssh/id_dsa type -1 debug1: identity file /Users/josephleroux/.ssh/id_dsa-cert type -1 debug1: identity file /Users/josephleroux/.ssh/id_ecdsa type -1 debug1: identity file /Users/josephleroux/.ssh/id_ecdsa-cert type -1 debug1: identity file /Users/josephleroux/.ssh/id_ecdsa_sk type -1 debug1: identity file /Users/josephleroux/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /Users/josephleroux/.ssh/id_ed25519 type -1 debug1: identity file /Users/josephleroux/.ssh/id_ed25519-cert type -1 debug1: identity file /Users/josephleroux/.ssh/id_ed25519_sk type -1 debug1: identity file /Users/josephleroux/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /Users/josephleroux/.ssh/id_xmss type -1 debug1: identity file /Users/josephleroux/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.6 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4p1 Debian-10+deb9u7 debug1: compat_banner: match: OpenSSH_7.4p1 Debian-10+deb9u7 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002 debug1: Authenticating to lipnssh.univ-paris13.fr:22 as 'leroux' debug1: load_hostkeys: fopen /Users/josephleroux/.ssh/known_hosts2: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: SSH2_MSG_KEX_ECDH_REPLY received debug1: Server host key: ecdsa-sha2-nistp256 SHA256:YaQWEE+iJTG1HPnH7Bzdud24GNrLYcLVfhbCT1sOByY debug1: load_hostkeys: fopen /Users/josephleroux/.ssh/known_hosts2: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug1: Host 'lipnssh.univ-paris13.fr' is known and matches the ECDSA host key. debug1: Found key in /Users/josephleroux/.ssh/known_hosts:1 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: /Users/josephleroux/.ssh/id_rsa RSA SHA256:zW+goQByOLFukH6w/zANg7cOT7omjk/WNpUNx/iGgJ4 debug1: Will attempt key: /Users/josephleroux/.ssh/id_dsa debug1: Will attempt key: /Users/josephleroux/.ssh/id_ecdsa debug1: Will attempt key: /Users/josephleroux/.ssh/id_ecdsa_sk debug1: Will attempt key: /Users/josephleroux/.ssh/id_ed25519 debug1: Will attempt key: /Users/josephleroux/.ssh/id_ed25519_sk debug1: Will attempt key: /Users/josephleroux/.ssh/id_xmss debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521> debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering public key: /Users/josephleroux/.ssh/id_rsa RSA SHA256:zW+goQByOLFukH6w/zANg7cOT7omjk/WNpUNx/iGgJ4 debug1: Authentications that can continue: publickey,password debug1: Trying private key: /Users/josephleroux/.ssh/id_dsa debug1: Trying private key: /Users/josephleroux/.ssh/id_ecdsa debug1: Trying private key: /Users/josephleroux/.ssh/id_ecdsa_sk debug1: Trying private key: /Users/josephleroux/.ssh/id_ed25519 debug1: Trying private key: /Users/josephleroux/.ssh/id_ed25519_sk debug1: Trying private key: /Users/josephleroux/.ssh/id_xmss debug1: Next authentication method: password leroux@lipnssh.univ-paris13.fr's password: -- Joseph Le Roux RCLN, LIPN, Université Sorbonne Paris Nord Tel: +33 (0) 1 49 40 32 13 URL: https://www.lipn.fr/~leroux GPG fingerprint: 647E BA11 F377 FA03 2A6A AFB6 6090 6D35 BE65 36C5
participants (1)
-
Joseph Le Roux