其他问题 还是经常性的 push 超时

virusdefender · 2016年03月05日 · 最后由 八哥 回复于 2016年03月05日 · 178 次阅读
ping git.coding.net
PING 1st.appat57.ourglb0.net (223.99.230.189): 56 data bytes
64 bytes from 223.99.230.189: icmp_seq=0 ttl=58 time=12.141 ms
64 bytes from 223.99.230.189: icmp_seq=1 ttl=58 time=9.669 ms
64 bytes from 223.99.230.189: icmp_seq=2 ttl=58 time=9.013 ms
^C
--- 1st.appat57.ourglb0.net ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 9.013/10.274/12.141/1.347 ms
➜  openvj git:(dev) ✗ 
➜  openvj git:(dev) ✗ 
➜  openvj git:(dev) ✗ traceroute git.coding.net
traceroute to 1st.appat57.ourglb0.net (223.99.230.189), 64 hops max, 52 byte packets
 1  223.81.80.1 (223.81.80.1)  15.585 ms  5.536 ms  5.793 ms
 2  218.201.116.249 (218.201.116.249)  4.877 ms  3.237 ms  6.455 ms
 3  * 120.192.97.185 (120.192.97.185)  5.235 ms  5.034 ms
 4  211.137.196.150 (211.137.196.150)  11.473 ms  8.527 ms
    211.137.176.106 (211.137.176.106)  10.967 ms
 5  * * *
 6  * * *
 7  223.99.230.189 (223.99.230.189)  10.509 ms  22.956 ms  10.484 ms

您当前的IP:223.81.82.61 中国山东青岛 移动

共收到 6 条回复
  openvj git:(dev) ✗ ssh -vvvT git@git.coding.net
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 *
debug2: ssh_connect: needpriv 0
debug1: Connecting to git.coding.net [223.99.230.189] port 22.
debug1: Connection established.
debug1: identity file /Users/virusdefender/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/virusdefender/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/virusdefender/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/virusdefender/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/virusdefender/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/virusdefender/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/virusdefender/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/virusdefender/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version Go
debug1: no match: Go
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to git.coding.net:22 as 'git'
debug3: hostkeys_foreach: reading file "/Users/virusdefender/.ssh/known_hosts"
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: 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,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: 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,hmac-md5-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: 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,hmac-md5-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,arcfour256,arcfour128
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,arcfour256,arcfour128
debug2: kex_parse_kexinit: hmac-sha2-256,hmac-sha1,hmac-sha1-96
debug2: kex_parse_kexinit: hmac-sha2-256,hmac-sha1,hmac-sha1-96
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug1: kex: server->client aes128-ctr hmac-sha2-256 none
debug1: kex: client->server aes128-ctr hmac-sha2-256 none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:jok3FH7q5LJ6qvE7iPNehBgXRw51ErE77S0Dn+Vg/Ik
debug3: hostkeys_foreach: reading file "/Users/virusdefender/.ssh/known_hosts"
debug3: hostkeys_foreach: reading file "/Users/virusdefender/.ssh/known_hosts"
The authenticity of host 'git.coding.net (223.99.230.189)' can't be established.
RSA key fingerprint is SHA256:jok3FH7q5LJ6qvE7iPNehBgXRw51ErE77S0Dn+Vg/Ik.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'git.coding.net,223.99.230.189' (RSA) to the list of known hosts.
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /Users/virusdefender/.ssh/id_rsa (0x7fceb3d00700),
debug2: key: /Users/virusdefender/.ssh/id_dsa (0x0),
debug2: key: /Users/virusdefender/.ssh/id_ecdsa (0x0),
debug2: key: /Users/virusdefender/.ssh/id_ed25519 (0x0),
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/virusdefender/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey
debug1: Trying private key: /Users/virusdefender/.ssh/id_dsa
debug3: no such identity: /Users/virusdefender/.ssh/id_dsa: No such file or directory
debug1: Trying private key: /Users/virusdefender/.ssh/id_ecdsa
debug3: no such identity: /Users/virusdefender/.ssh/id_ecdsa: No such file or directory
debug1: Trying private key: /Users/virusdefender/.ssh/id_ed25519
debug3: no such identity: /Users/virusdefender/.ssh/id_ed25519: No such file or directory
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey).
➜  openvj git:(dev) ✗ 

ssh 没有配置正确,请在帮助页面搜索 ssh 按照文档配置。

你的问题不是连接不上 ,而是ssh配置错误导致验证不通过

@八哥 @叶雨飞 我是用的https的,但是我换成ssh的就好了。。

@八哥 @叶雨飞 ssh的错误是因为我那时候还没添加公钥

@virusdefender 现在还有问题吗?

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
相关话题