Created
December 3, 2021 11:17
-
-
Save TheoBrigitte/58d792d097c6d7e13fec80a50ca594b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# running github.com/TheoBrigitte/crypto/blob/master/cmd/debug.go | |
2021/12/03 12:11:38 knownHostFile: /home/theo/.ssh/known_hosts | |
2021/12/03 12:11:39 client sent *ssh.kexInitMsg &ssh.kexInitMsg{Cookie:[16]uint8{0xca, 0xd1, 0x29, 0xd, 0x67, 0x22, 0xd9, 0x76, 0xfd, 0x58, 0x73, 0xb7, 0xa1, 0xcd, 0x3a, 0x20}, KexAlgos:[]string{"curve25519-sha256@libssh.org", "ecdh-sha2-nistp256", "ecdh-sha2-nistp384", "ecdh-sha2-nistp521", "diffie-hellman-group14-sha1"}, ServerHostKeyAlgos:[]string{"rsa-sha2-512-cert-v01@openssh.com", "rsa-sha2-256-cert-v01@openssh.com", "ssh-rsa-cert-v01@openssh.com", "ssh-dss-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", "ssh-ed25519-cert-v01@openssh.com", "ecdsa-sha2-nistp256", "ecdsa-sha2-nistp384", "ecdsa-sha2-nistp521", "rsa-sha2-512", "rsa-sha2-256", "ssh-rsa", "ssh-dss", "ssh-ed25519"}, CiphersClientServer:[]string{"aes128-gcm@openssh.com", "chacha20-poly1305@openssh.com", "aes128-ctr", "aes192-ctr", "aes256-ctr"}, CiphersServerClient:[]string{"aes128-gcm@openssh.com", "chacha20-poly1305@openssh.com", "aes128-ctr", "aes192-ctr", "aes256-ctr"}, MACsClientServer:[]string{"hmac-sha2-256-etm@openssh.com", "hmac-sha2-256", "hmac-sha1", "hmac-sha1-96"}, MACsServerClient:[]string{"hmac-sha2-256-etm@openssh.com", "hmac-sha2-256", "hmac-sha1", "hmac-sha1-96"}, CompressionClientServer:[]string{"none"}, CompressionServerClient:[]string{"none"}, LanguagesClientServer:[]string{}, LanguagesServerClient:[]string{}, FirstKexFollows:false, Reserved:0x0} (<nil>) | |
2021/12/03 12:11:39 client got *ssh.kexInitMsg &ssh.kexInitMsg{Cookie:[16]uint8{0xd4, 0xff, 0xb8, 0xbb, 0x0, 0x4a, 0x7d, 0xf2, 0x90, 0xfb, 0xff, 0x31, 0x64, 0x1c, 0x57, 0xd2}, KexAlgos:[]string{"curve25519-sha256", "curve25519-sha256@libssh.org", "ecdh-sha2-nistp256", "ecdh-sha2-nistp384", "ecdh-sha2-nistp521", "diffie-hellman-group-exchange-sha256"}, ServerHostKeyAlgos:[]string{"ssh-ed25519", "ecdsa-sha2-nistp256", "rsa-sha2-512", "rsa-sha2-256", "ssh-rsa"}, CiphersClientServer:[]string{"chacha20-poly1305@openssh.com", "aes256-gcm@openssh.com", "aes128-gcm@openssh.com", "aes256-ctr", "aes192-ctr", "aes128-ctr", "aes256-cbc", "aes192-cbc", "aes128-cbc"}, CiphersServerClient:[]string{"chacha20-poly1305@openssh.com", "aes256-gcm@openssh.com", "aes128-gcm@openssh.com", "aes256-ctr", "aes192-ctr", "aes128-ctr", "aes256-cbc", "aes192-cbc", "aes128-cbc"}, MACsClientServer:[]string{"hmac-sha2-512-etm@openssh.com", "hmac-sha2-256-etm@openssh.com", "hmac-sha2-512", "hmac-sha2-256", "hmac-sha1-etm@openssh.com", "hmac-sha1"}, MACsServerClient:[]string{"hmac-sha2-512-etm@openssh.com", "hmac-sha2-256-etm@openssh.com", "hmac-sha2-512", "hmac-sha2-256", "hmac-sha1-etm@openssh.com", "hmac-sha1"}, CompressionClientServer:[]string{"none"}, CompressionServerClient:[]string{"none"}, LanguagesClientServer:[]string{}, LanguagesServerClient:[]string{}, FirstKexFollows:false, Reserved:0x0} (<nil>) | |
2021/12/03 12:11:39 client entered key exchange | |
2021/12/03 12:11:39 ssh.findAgreedAlgorithms | |
kex: curve25519-sha256@libssh.org | |
hostKey: ecdsa-sha2-nistp256 | |
2021/12/03 12:11:39 ssh.HostKeyCallback | |
address: github.com:22 | |
remote: 140.82.121.3:22 | |
remoteKey | |
type: ecdsa-sha2-nistp256 | |
data: ecdsa-sha2-nistp25nistp256AIHCc@G:ldd̻P}Kya23n`9S.bMfv`:hrH | |
2021/12/03 12:11:39 knownhosts.checkAddr | |
matching key: ssh-ed25519 github.com:22 | |
2021/12/03 12:11:39 client exited key exchange (first true), err knownhosts: key mismatch | |
2021/12/03 12:11:39 ssh: handshake failed: knownhosts: key mismatch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment