github est inexplicablement incapable de pousser du code,
Rapport d'erreur :
fatal: unable to access 'https://***.git/': SSL peer handshake failed, the server most likely requires a client certificate to connect
Régénérez la clé ssh selon la documentation officielle. Et exécutez ssh -T git@github.com
après l'avoir ajouté. Erreur : ssh_exchange_identification: Connection closed by remote host
Le code à exécuter ssh -vT git@github.com
est le suivant :
$ ssh -vT git@github.com
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to github.com [1.111.11.111] port 22.
debug1: Connection established.
debug1: identity file /Users/yangzhongjing/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yangzhongjing/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yangzhongjing/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yangzhongjing/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yangzhongjing/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yangzhongjing/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yangzhongjing/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/yangzhongjing/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
ssh_exchange_identification: Connection closed by remote host
Ici/Users/yangzhongjing/.ssh/id_rsa
ce fichier existe. Je ne sais pas pourquoi ça rapporte : key_load_public: No such file or directory
J'ai beaucoup cherché en ligne et essayé les méthodes suivantes, mais en vain :
vim /etc/hosts.allow
Ajouter sshd: ALL
ssh-add ~/.ssh/id_rsa
Ajustement du /etc/ssh/sshd_config
dans MaxSessions 10
pour l'agrandir
Supprimer ~/.ssh
Répertoire et régénérer la clé ssh
Le problème du plug-in d'accélération du routeur a été résolu..