質問編集履歴

1

回答でいただいた方法よりssh-add -Dを実行後の内容を追記しました。

2016/10/13 10:11

投稿

doraemon
doraemon

スコア8

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,9 @@
8
8
 
9
9
  Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
10
10
 
11
+
12
+
11
- or
13
+ 以下はなくなりました
12
14
 
13
15
  Received disconnect from ...: 2: Too many authentication failures for id
14
16
 
@@ -20,7 +22,9 @@
20
22
 
21
23
  Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
22
24
 
25
+
26
+
23
- or
27
+ 以下はなくなりました
24
28
 
25
29
  Received disconnect from ...: 2: Too many authentication failures for id
26
30
 
@@ -122,6 +126,96 @@
122
126
 
123
127
  ```
124
128
 
129
+ ```
130
+
131
+ 追記 デバッグ ssh-add -D 使用後
132
+
133
+ OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
134
+
135
+ debug1: Reading configuration data /etc/ssh_config
136
+
137
+ debug1: /etc/ssh_config line 20: Applying options for *
138
+
139
+ debug1: /etc/ssh_config line 102: Applying options for *
140
+
141
+ debug1: Connecting to id.xserver.jp [...] port 10022.
142
+
143
+ debug1: Connection established.
144
+
145
+ debug1: identity file /home/.ssh/id_rsa type 1
146
+
147
+ debug1: identity file /home/.ssh/id_rsa-cert type -1
148
+
149
+ debug1: identity file /home/.ssh/id_dsa type -1
150
+
151
+ debug1: identity file /home/.ssh/id_dsa-cert type -1
152
+
153
+ debug1: Enabling compatibility mode for protocol 2.0
154
+
155
+ debug1: Local version string SSH-2.0-OpenSSH_6.2
156
+
157
+ debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
158
+
159
+ debug1: match: OpenSSH_6.6.1 pat OpenSSH*
160
+
161
+ debug1: SSH2_MSG_KEXINIT sent
162
+
163
+ debug1: SSH2_MSG_KEXINIT received
164
+
165
+ debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
166
+
167
+ debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
168
+
169
+ debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
170
+
171
+ debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
172
+
173
+ debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
174
+
175
+ debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
176
+
177
+ debug1: Server host key: RSA
178
+
179
+ debug1: checking without port identifier
180
+
181
+ The authenticity of host '[id.xserver.jp]:10022 ([...]:10022)' can't be established.
182
+
183
+ RSA key fingerprint is .
184
+
185
+ Are you sure you want to continue connecting (yes/no)? yes
186
+
187
+ Warning: Permanently added '[id.xserver.jp]:10022,[...]:10022' (RSA) to the list of known hosts.
188
+
189
+ debug1: ssh_rsa_verify: signature correct
190
+
191
+ debug1: SSH2_MSG_NEWKEYS sent
192
+
193
+ debug1: expecting SSH2_MSG_NEWKEYS
194
+
195
+ debug1: SSH2_MSG_NEWKEYS received
196
+
197
+ debug1: SSH2_MSG_SERVICE_REQUEST sent
198
+
199
+ debug1: SSH2_MSG_SERVICE_ACCEPT received
200
+
201
+ debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
202
+
203
+ debug1: Next authentication method: publickey
204
+
205
+ debug1: Offering RSA public key: /home/.ssh/id_rsa
206
+
207
+ debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
208
+
209
+ debug1: Trying private key: /home/.ssh/id_dsa
210
+
211
+ debug1: No more authentication methods to try.
212
+
213
+ Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
214
+
215
+ ```
216
+
217
+
218
+
125
219
  *IDなど個人情報のため一部改変しています。
126
220
 
127
221
 
@@ -156,6 +250,10 @@
156
250
 
157
251
 
158
252
 
253
+ 追記
254
+
255
+ ssh-add -Dを実行後、再度上記手順を試しました
256
+
159
257
 
160
258
 
161
259