質問編集履歴
3
test
CHANGED
File without changes
|
test
CHANGED
@@ -338,7 +338,7 @@
|
|
338
338
|
|
339
339
|
|
340
340
|
|
341
|
-
Last login: Sat May 8 21:07:14 2021 from 1
|
341
|
+
Last login: Sat May 8 21:07:14 2021 from 1
|
342
342
|
|
343
343
|
$
|
344
344
|
|
2
「Mac ~ % ssh -v VPSUSER@IP.ADD.RE.SS」を実行
test
CHANGED
File without changes
|
test
CHANGED
@@ -163,3 +163,185 @@
|
|
163
163
|
id_rsa.pub 100% 582 35.5KB/s 00:00
|
164
164
|
|
165
165
|
```
|
166
|
+
|
167
|
+
----
|
168
|
+
|
169
|
+
追記
|
170
|
+
|
171
|
+
「Mac ~ % ssh -v VPSUSER@IP.ADD.RE.SS」を実行。
|
172
|
+
|
173
|
+
```ここに言語を入力
|
174
|
+
|
175
|
+
Mac ~ % ssh -v VPSUSER@IP.ADD.RE.SS
|
176
|
+
|
177
|
+
OpenSSH_8.1p1, LibreSSL 2.7.3
|
178
|
+
|
179
|
+
debug1: Reading configuration data /etc/ssh/ssh_config
|
180
|
+
|
181
|
+
debug1: /etc/ssh/ssh_config line 47: Applying options for *
|
182
|
+
|
183
|
+
debug1: Connecting to IP.ADD.RE.SS [IP.ADD.RE.SS] port 22.
|
184
|
+
|
185
|
+
debug1: Connection established.
|
186
|
+
|
187
|
+
debug1: identity file /Users/user/.ssh/id_rsa type 0
|
188
|
+
|
189
|
+
debug1: identity file /Users/user/.ssh/id_rsa-cert type -1
|
190
|
+
|
191
|
+
debug1: identity file /Users/user/.ssh/id_dsa type -1
|
192
|
+
|
193
|
+
debug1: identity file /Users/user/.ssh/id_dsa-cert type -1
|
194
|
+
|
195
|
+
debug1: identity file /Users/user/.ssh/id_ecdsa type -1
|
196
|
+
|
197
|
+
debug1: identity file /Users/user/.ssh/id_ecdsa-cert type -1
|
198
|
+
|
199
|
+
debug1: identity file /Users/user/.ssh/id_ed25519 type -1
|
200
|
+
|
201
|
+
debug1: identity file /Users/user/.ssh/id_ed25519-cert type -1
|
202
|
+
|
203
|
+
debug1: identity file /Users/user/.ssh/id_xmss type -1
|
204
|
+
|
205
|
+
debug1: identity file /Users/user/.ssh/id_xmss-cert type -1
|
206
|
+
|
207
|
+
debug1: Local version string SSH-2.0-OpenSSH_8.1
|
208
|
+
|
209
|
+
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.2p1 Ubuntu-4ubuntu0.2
|
210
|
+
|
211
|
+
debug1: match: OpenSSH_8.2p1 Ubuntu-4ubuntu0.2 pat OpenSSH* compat 0x04000000
|
212
|
+
|
213
|
+
debug1: Authenticating to IP.ADD.RE.SS:22 as 'VPSUSER'
|
214
|
+
|
215
|
+
debug1: SSH2_MSG_KEXINIT sent
|
216
|
+
|
217
|
+
debug1: SSH2_MSG_KEXINIT received
|
218
|
+
|
219
|
+
debug1: kex: algorithm: curve25519-sha256
|
220
|
+
|
221
|
+
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
|
222
|
+
|
223
|
+
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
|
224
|
+
|
225
|
+
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
|
226
|
+
|
227
|
+
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
|
228
|
+
|
229
|
+
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:Rjz8BLk12zzXoBrcG5vZlzT+RWUosls93VYylwFAxk4
|
230
|
+
|
231
|
+
debug1: Host 'IP.ADD.RE.SS' is known and matches the ECDSA host key.
|
232
|
+
|
233
|
+
debug1: Found key in /Users/user/.ssh/known_hosts:1
|
234
|
+
|
235
|
+
debug1: rekey out after 134217728 blocks
|
236
|
+
|
237
|
+
debug1: SSH2_MSG_NEWKEYS sent
|
238
|
+
|
239
|
+
debug1: expecting SSH2_MSG_NEWKEYS
|
240
|
+
|
241
|
+
debug1: SSH2_MSG_NEWKEYS received
|
242
|
+
|
243
|
+
debug1: rekey in after 134217728 blocks
|
244
|
+
|
245
|
+
debug1: Will attempt key: /Users/user/.ssh/id_rsa RSA SHA256:R5LEAQ9xydhROZe3c9la/qbFxFM1UB0DNJQuv6XTjY8
|
246
|
+
|
247
|
+
debug1: Will attempt key: /Users/user/.ssh/id_dsa
|
248
|
+
|
249
|
+
debug1: Will attempt key: /Users/user/.ssh/id_ecdsa
|
250
|
+
|
251
|
+
debug1: Will attempt key: /Users/user/.ssh/id_ed25519
|
252
|
+
|
253
|
+
debug1: Will attempt key: /Users/user/.ssh/id_xmss
|
254
|
+
|
255
|
+
debug1: SSH2_MSG_EXT_INFO received
|
256
|
+
|
257
|
+
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com>
|
258
|
+
|
259
|
+
debug1: SSH2_MSG_SERVICE_ACCEPT received
|
260
|
+
|
261
|
+
debug1: Authentications that can continue: publickey,password
|
262
|
+
|
263
|
+
debug1: Next authentication method: publickey
|
264
|
+
|
265
|
+
debug1: Offering public key: /Users/user/.ssh/id_rsa RSA SHA256:R5LEAQ9xydhROZe3c9la/qbFxFM1UB0DNJQuv6XTjY8
|
266
|
+
|
267
|
+
debug1: Authentications that can continue: publickey,password
|
268
|
+
|
269
|
+
debug1: Trying private key: /Users/user/.ssh/id_dsa
|
270
|
+
|
271
|
+
debug1: Trying private key: /Users/user/.ssh/id_ecdsa
|
272
|
+
|
273
|
+
debug1: Trying private key: /Users/user/.ssh/id_ed25519
|
274
|
+
|
275
|
+
debug1: Trying private key: /Users/user/.ssh/id_xmss
|
276
|
+
|
277
|
+
debug1: Next authentication method: password
|
278
|
+
|
279
|
+
VPSUSER@IP.ADD.RE.SS's password:
|
280
|
+
|
281
|
+
debug1: Authentication succeeded (password).
|
282
|
+
|
283
|
+
Authenticated to IP.ADD.RE.SS ([IP.ADD.RE.SS]:22).
|
284
|
+
|
285
|
+
debug1: channel 0: new [client-session]
|
286
|
+
|
287
|
+
debug1: Requesting no-more-sessions@openssh.com
|
288
|
+
|
289
|
+
debug1: Entering interactive session.
|
290
|
+
|
291
|
+
debug1: pledge: network
|
292
|
+
|
293
|
+
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
|
294
|
+
|
295
|
+
debug1: Remote: Ignored authorized keys: bad ownership or modes for direcuser /home/VPSUSER
|
296
|
+
|
297
|
+
debug1: Sending environment.
|
298
|
+
|
299
|
+
debug1: Sending env LANG = ja_JP.UTF-8
|
300
|
+
|
301
|
+
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-72-generic x86_64)
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
* Documentation: https://help.ubuntu.com
|
306
|
+
|
307
|
+
* Management: https://landscape.canonical.com
|
308
|
+
|
309
|
+
* Support: https://ubuntu.com/advantage
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
System information as of 2021年 5月 9日 日曜日 09:00:19 JST
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
System load: 0.08 Processes: 107
|
318
|
+
|
319
|
+
Usage of /: 27.8% of 29.40GB Users logged in: 0
|
320
|
+
|
321
|
+
Memory usage: 39% IPv4 address for eth0: IP.ADD.RE.SS
|
322
|
+
|
323
|
+
Swap usage: 1%
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
* Pure upstream Kubernetes 1.21, smallest, simplest cluster ops!
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
https://microk8s.io/
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
Last login: Sat May 8 21:07:14 2021 from 180.146.47.189
|
342
|
+
|
343
|
+
$
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
```
|
1
パスフレーズの設定はしていない旨を記載
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
通常、公開鍵方式での接続の場合は、このようなパスワードは求められないと認識しているのですが、間違いないですよね?。
|
30
30
|
|
31
|
-
このあと、パスワードでのログインが出来ないように設定をするつもりですので、何とかしたいと思うのですが、わかる人がいましたらご教授いただければ幸いです。
|
31
|
+
このあと、パスワードでのログインが出来ないように設定をするつもりですので、何とかしたいと思うのですが、わかる人がいましたらご教授いただければ幸いです。パスフレーズの設定はしていません。
|
32
32
|
|
33
33
|
|
34
34
|
|
@@ -92,13 +92,13 @@
|
|
92
92
|
|
93
93
|
Generating public/private rsa key pair.
|
94
94
|
|
95
|
-
Enter file in which to save the key (/Users/user/.ssh/id_rsa):
|
95
|
+
Enter file in which to save the key (/Users/user/.ssh/id_rsa): //エンターキーのみ
|
96
96
|
|
97
97
|
Created directory '/Users/user/.ssh'.
|
98
98
|
|
99
|
-
Enter passphrase (empty for no passphrase):
|
99
|
+
Enter passphrase (empty for no passphrase): //エンターキーのみ(パスフレーズの設定はしていません)
|
100
100
|
|
101
|
-
Enter same passphrase again:
|
101
|
+
Enter same passphrase again: //エンターキーのみ
|
102
102
|
|
103
103
|
Your identification has been saved in /Users/user/.ssh/id_rsa.
|
104
104
|
|