質問するログイン新規登録

質問編集履歴

1

追記

2018/08/27 09:17

投稿

tinmanCtr
tinmanCtr

スコア9

title CHANGED
File without changes
body CHANGED
@@ -22,4 +22,55 @@
22
22
 
23
23
  というメッセージが来るわけです。ここで`$ git push`すると成功します。
24
24
 
25
- つまり、ssh接続の問題だと思うのですが、ネットで似たような事例を見つけられないので、なぜこのようになるか&解決方法が分かる方ご教授お願いします。
25
+ つまり、ssh接続の問題だと思うのですが、ネットで似たような事例を見つけられないので、なぜこのようになるか&解決方法が分かる方ご教授お願いします。
26
+
27
+ 追記:失敗するときのlog(投げやりで申し訳ありません)
28
+
29
+ ```
30
+ OpenSSH_7.6p1, LibreSSL 2.6.2
31
+ debug1: Reading configuration data /etc/ssh/ssh_config
32
+ debug1: /etc/ssh/ssh_config line 48: Applying options for *
33
+ debug1: Connecting to bitbucket.org port 22.
34
+ debug1: Connection established.
35
+ debug1: identity file /Users/<ユーザー名>/.ssh/id_rsa type 0
36
+ debug1: key_load_public: No such file or directory
37
+ debug1: identity file /Users/<ユーザー名>/.ssh/id_rsa-cert type -1
38
+ debug1: key_load_public: No such file or directory
39
+ debug1: identity file /Users/<ユーザー名>/.ssh/id_dsa type -1
40
+ debug1: key_load_public: No such file or directory
41
+ debug1: identity file /Users/<ユーザー名>/.ssh/id_dsa-cert type -1
42
+ debug1: key_load_public: No such file or directory
43
+ debug1: identity file /Users/<ユーザー名>/.ssh/id_ecdsa type -1
44
+ debug1: key_load_public: No such file or directory
45
+ debug1: identity file /Users/<ユーザー名>/.ssh/id_ecdsa-cert type -1
46
+ debug1: key_load_public: No such file or directory
47
+ debug1: identity file /Users/<ユーザー名>/.ssh/id_ed25519 type -1
48
+ debug1: key_load_public: No such file or directory
49
+ debug1: identity file /Users/<ユーザー名>/.ssh/id_ed25519-cert type -1
50
+ debug1: Local version string SSH-2.0-OpenSSH_7.6
51
+ debug1: Remote protocol version 2.0, remote software version conker_1.1.13-7af6557 app-131
52
+ debug1: no match: conker_1.1.13-7af6557 app-131
53
+ debug1: Authenticating to bitbucket.org:22 as 'git'
54
+ debug1: SSH2_MSG_KEXINIT sent
55
+ debug1: SSH2_MSG_KEXINIT received
56
+ debug1: kex: algorithm: curve25519-sha256@libssh.org
57
+ debug1: kex: host key algorithm: ssh-rsa
58
+ debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
59
+ debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
60
+ debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
61
+ debug1: Server host key: ssh-rsa SHA256:zzXQOXSRBEiUtuE8AikJYKwbHaxvSc0ojez9YXaGp1A
62
+ debug1: Host 'bitbucket.org' is known and matches the RSA host key.
63
+ debug1: Found key in /Users/<ユーザー名>/.ssh/known_hosts:1
64
+ debug1: rekey after 134217728 blocks
65
+ debug1: SSH2_MSG_NEWKEYS sent
66
+ debug1: expecting SSH2_MSG_NEWKEYS
67
+ debug1: SSH2_MSG_NEWKEYS received
68
+ debug1: rekey after 134217728 blocks
69
+ debug1: SSH2_MSG_SERVICE_ACCEPT received
70
+ debug1: Authentications that can continue: publickey
71
+ debug1: Next authentication method: publickey
72
+ debug1: Offering public key: RSA SHA256:<公開鍵> /Users/<ユーザー名>/.ssh/id_rsa
73
+ debug1: Server accepts key: pkalg ssh-rsa blen 279
74
+ Enter passphrase for key '/Users/<ユーザー名>/.ssh/id_rsa':
75
+ Connection closed by 2406:da00:ff00::22cd:e0db port 22
76
+ ```