Bonjour, j'ai un soucis mon serveur possède un panel et depuis que j'ai installé ce panel avec une tâche cron
J'ai une erreur qui m'affiche key_exchange_identification quand je veux me connecter via ssh, le panel et serveur fonctionne très bien mais juste impossible de me connecter dessus.
Si quelqu'un a une solution svp
Hosted Exchange - Kex_exchange_identification
Related questions
- DKIM - email Pro et Exchange
42135
25.10.2017 09:05
- Migration compte emailpro vers exchange
27939
02.03.2017 22:04
- Cohabitation mails OVH et Exchange Office 365
27409
04.03.2019 14:33
- Fin du support Exchange 2016 et 2019 on premise (Zimbra ?)
26446
18.04.2025 09:43
- Suppression compte Exchange
26177
23.06.2020 08:48
- Problème de connnection exchange avec outlook mobile
25588
03.09.2020 15:06
- Compte Exchange bloqué par GMAIL : gmail-smtp-in.l.google.com
25342
03.03.2022 13:27
- Problème connexion Outlook/Exchange
24954
15.06.2020 08:47
- Exchange OVH à Exchange O365
22790
27.03.2017 13:01
- Redirection d'email d'un compte EXCHANGE
21441
07.02.2020 11:37
Bonjour,
Sans autre info de votre part je vous livre des suggestions génériques:
https://stackoverflow.com/questions/69394001/how-can-i-fix-kex-exchange-identification-read-connection-reset-by-peer
Quel informations avait vous besoin j'ai ça :
C:\Users\Nom>ssh -vvv -i ~/.ssh/id_rsa root@IP -p PORT
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
debug3: Failed to open file:C:/Users/Nom/.ssh/config error:2
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug2: resolve_canonicalize: hostname (IP) is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> 'C:\\Users\\Nom/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> 'C:\\Users\\Nom/.ssh/known_hosts2'
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug3: ssh_connect_direct: entering
debug1: Connecting to IP[IP] port Port.
debug1: Connection established.
debug1: identity file C:\\Users\\Nom/.ssh/id_rsa type 0
debug3: Failed to open file:C:/Users/Nom/.ssh/id_rsa-cert error:2
debug3: Failed to open file:C:/Users/Nom/.ssh/id_rsa-cert.pub error:2
debug3: failed to open file:C:/Users/Nom/.ssh/id_rsa-cert error:2
debug1: identity file C:\\Users\\Nom/.ssh/id_rsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.6
kex_exchange_identification: Connection closed by remote host
Connection closed by (IP) port (port)
Quel informations avez-vous besoin?
Quel autres informations avez vous besoin ?
c'est ça l'erreur en entière
kex_exchange_identification: Connection closed by remote host
Voivi un exemple d'une connexion depuis Windows 11 vers un host sur lequel je ne me suis encore jamais connecté:
C:\Users\XXXXX>ssh -vvv -i ~/.ssh/id_rsa root@y.XXXXX.eu
Warning: Identity file C:\Users\XXXXX/.ssh/id_rsa not accessible: No such file or directory.
OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
debug3: Failed to open file:C:/Users/XXXXX/.ssh/config error:2
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> 'C:\\Users\\XXXXX/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> 'C:\\Users\\XXXXX/.ssh/known_hosts2'
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug2: resolving "y.XXXXX.eu" port 22
debug3: ssh_connect_direct: entering
debug1: Connecting to y.XXXXX.eu [51.195.XXX.XX] port 22.
debug1: Connection established.
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_rsa error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_rsa.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_rsa error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_rsa type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_rsa-cert error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_rsa-cert.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_rsa-cert error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_rsa-cert type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_dsa error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_dsa type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa-cert error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa-cert.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_dsa-cert error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_dsa-cert type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_ecdsa type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa-cert error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa-cert.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa-cert error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_ecdsa-cert type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa_sk error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa_sk.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa_sk error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_ecdsa_sk type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa_sk-cert error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa_sk-cert.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa_sk-cert error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_ecdsa_sk-cert type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519 error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_ed25519 error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_ed25519 type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519-cert error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519-cert.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_ed25519-cert error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_ed25519-cert type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519_sk error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519_sk.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_ed25519_sk error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_ed25519_sk type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519_sk-cert error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519_sk-cert.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_ed25519_sk-cert error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_ed25519_sk-cert type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_xmss error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_xmss type -1
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss-cert error:2
debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss-cert.pub error:2
debug3: failed to open file:C:/Users/XXXXX/.ssh/id_xmss-cert error:2
debug1: identity file C:\\Users\\XXXXX/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.6
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.2p1 Debian-2+deb12u2
debug1: compat_banner: match: OpenSSH_9.2p1 Debian-2+deb12u2 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to y.XXXXX.eu:22 as 'root'
debug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2
debug1: load_hostkeys: fopen C:\\Users\\XXXXX/.ssh/known_hosts2: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug3: order_hostkeyalgs: no algorithms matched; accept original
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c
debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,kex-strict-s-v00@openssh.com
debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com
debug2: compression stoc: none,zlib@openssh.com
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:8SQvMgZFDIZuOUfs105NyjCE4gq/V4o04ut8WWnrebk
debug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2
debug1: load_hostkeys: fopen C:\\Users\\XXXXX/.ssh/known_hosts2: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or directory
debug3: hostkeys_find_by_key_hostfile: trying user hostfile "C:\\Users\\XXXXX/.ssh/known_hosts"
debug3: hostkeys_foreach: reading file "C:\\Users\\XXXXX/.ssh/known_hosts"
debug3: hostkeys_find_by_key_hostfile: trying user hostfile "C:\\Users\\XXXXX/.ssh/known_hosts2"
debug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2
debug1: hostkeys_find_by_key_hostfile: hostkeys file C:\\Users\\XXXXX/.ssh/known_hosts2 does not exist
debug3: hostkeys_find_by_key_hostfile: trying system hostfile "__PROGRAMDATA__\\ssh/ssh_known_hosts"
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2
debug1: hostkeys_find_by_key_hostfile: hostkeys file __PROGRAMDATA__\\ssh/ssh_known_hosts does not exist
debug3: hostkeys_find_by_key_hostfile: trying system hostfile "__PROGRAMDATA__\\ssh/ssh_known_hosts2"
debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2
debug1: hostkeys_find_by_key_hostfile: hostkeys file __PROGRAMDATA__\\ssh/ssh_known_hosts2 does not exist
The authenticity of host 'y.XXXXX.eu (51.195.XXX.XXX)' can't be established.
ED25519 key fingerprint is SHA256:8SQvMgZFDIZuOUfs105NyjCE4gq/V4o04ut8WWnrebk.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])?
Soit c'est votre WIndows votre coupable, soit c'est la machine en face.
Avez vous essayé avec PuTTY, par exemple ?
Bonjour @DorianB8,
Si le retour apporté par @Fritz2cat répond à votre demande, je vous invite à marquer ce dernier comme solution.
Dans le cas contraire, n’hésitez pas à ajouter des informations afin qu’une nouvelle réponse vous soit apportée par la communauté.
^FabL