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

質問編集履歴

3

ls .ssh

2019/07/29 10:17

投稿

vektor
vektor

スコア6

title CHANGED
File without changes
body CHANGED
@@ -9,14 +9,13 @@
9
9
  ### 各ファイルのパーミッション、クライアント側のログ
10
10
  ```
11
11
  LED@raspberrypi:~ $ ls -la .ssh
12
- 合計 24
12
+ total 24
13
- drwx------ 2 LED LED 4096 7月 29 15:16 .
13
+ drwx------ 1 LED LED 4096 Jul 29 15:16 .
14
- drwxr-xr-x 3 LED LED 4096 7月 11 14:41 ..
14
+ drwxr-xr-x 1 LED LED 4096 Jul 11 14:41 ..
15
- -rw------- 1 LED LED 381 7月 29 15:19 authorized_keys
15
+ -rw------- 1 LED LED 381 Jul 29 15:19 authorized_keys
16
- -rw------- 1 LED LED 1675 7月 11 14:57 id_rsa
16
+ -rw------- 1 LED LED 1675 Jul 11 14:57 id_rsa
17
- -rw------- 1 LED LED 381 7月 29 15:16 id_rsa.pub
17
+ -rw------- 1 LED LED 381 Jul 29 15:16 id_rsa.pub
18
- -rw-r--r-- 1 LED users 222 7月 11 14:41 known_hosts
18
+ -rw-r--r-- 1 LED users 222 Jul 11 14:41 known_hosts
19
-
20
19
  ```
21
20
 
22
21
  /var/log/auth.log

2

日本語の追加

2019/07/29 10:17

投稿

vektor
vektor

スコア6

title CHANGED
File without changes
body CHANGED
@@ -6,9 +6,9 @@
6
6
 
7
7
  他に設定したり修正したりする必要のある部分はあるのでしょうか?
8
8
 
9
- ###
9
+ ### 各ファイルのパーミッション、クライアント側のログ
10
10
  ```
11
- LED@raspberry:~ $ ls -la .ssh
11
+ LED@raspberrypi:~ $ ls -la .ssh
12
12
  合計 24
13
13
  drwx------ 2 LED LED 4096 7月 29 15:16 .
14
14
  drwxr-xr-x 3 LED LED 4096 7月 11 14:41 ..

1

log

2019/07/29 10:16

投稿

vektor
vektor

スコア6

title CHANGED
File without changes
body CHANGED
@@ -6,14 +6,61 @@
6
6
 
7
7
  他に設定したり修正したりする必要のある部分はあるのでしょうか?
8
8
 
9
+ ###
10
+ ```
9
- ### 発生している問題・エラーメッセージ
11
+ LED@raspberry:~ $ ls -la .ssh
12
+ 合計 24
13
+ drwx------ 2 LED LED 4096 7月 29 15:16 .
14
+ drwxr-xr-x 3 LED LED 4096 7月 11 14:41 ..
15
+ -rw------- 1 LED LED 381 7月 29 15:19 authorized_keys
16
+ -rw------- 1 LED LED 1675 7月 11 14:57 id_rsa
17
+ -rw------- 1 LED LED 381 7月 29 15:16 id_rsa.pub
18
+ -rw-r--r-- 1 LED users 222 7月 11 14:41 known_hosts
10
19
 
11
20
  ```
21
+
12
- エラーメッセージ
22
+ /var/log/auth.log
13
23
  ```
24
+ Jul 29 16:01:47 raspberrypi sshd[447]: debug1: Forked child 707.
25
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: Set /proc/self/oom_score_adj to 0
26
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8
27
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: inetd sockets after dupping: 3, 3
28
+ Jul 29 16:01:47 raspberrypi sshd[707]: Connection from 192.168.101.253 port 39312 on 192.168.101.159 port 22
29
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: Client protocol version 2.0; client software version OpenSSH_7.4p1 Debian-10+deb9u6
30
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: match: OpenSSH_7.4p1 Debian-10+deb9u6 pat OpenSSH* compat 0x04000000
31
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Raspbian-10+deb9u6
32
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: Enabling compatibility mode for protocol 2.0
33
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: permanently_set_uid: 107/65534 [preauth]
34
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: list_hostkey_types: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
35
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: SSH2_MSG_KEXINIT sent [preauth]
36
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: SSH2_MSG_KEXINIT received [preauth]
37
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: kex: algorithm: curve25519-sha256 [preauth]
38
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: kex: host key algorithm: ecdsa-sha2-nistp256 [preauth]
39
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
40
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none [preauth]
41
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
42
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: rekey after 134217728 blocks [preauth]
43
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: SSH2_MSG_NEWKEYS sent [preauth]
44
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: expecting SSH2_MSG_NEWKEYS [preauth]
45
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: SSH2_MSG_NEWKEYS received [preauth]
46
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: rekey after 134217728 blocks [preauth]
47
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: KEX done [preauth]
48
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: userauth-request for user LED service ssh-connection method none [preauth]
49
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: attempt 0 failures 0 [preauth]
50
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: PAM: initializing for "LED"
51
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: PAM: setting PAM_RHOST to "192.168.101.253"
52
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: PAM: setting PAM_TTY to "ssh"
53
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: userauth-request for user LED service ssh-connection method publickey [preauth]
54
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: attempt 1 failures 0 [preauth]
55
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: userauth_pubkey: test whether pkalg/pkblob are acceptable for RSA SHA256:V8iqoIwrpARwkx2WpM0BBvxnJC/52+pRQU6Hkyxq62s [preauth]
56
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: temporarily_use_uid: 10001/100 (e=0/0)
57
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: trying public key file /home/LED/.ssh/authorized_keys
58
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: Could not open authorized keys '/home/LED/.ssh/authorized_keys': Permission denied
59
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: restore_uid: 0/0
60
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: temporarily_use_uid: 10001/100 (e=0/0)
61
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: trying public key file /home/LED/.ssh/authorized_keys2
62
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: Could not open authorized keys '/home/LED/.ssh/authorized_keys2': Permission denied
63
+ Jul 29 16:01:47 raspberrypi sshd[707]: debug1: restore_uid: 0/0
64
+ Jul 29 16:01:47 raspberrypi sshd[707]: Failed publickey for LED from 192.168.101.253 port 39312 ssh2: RSA SHA256:V8iqoIwrpARwkx2WpM0BBvxnJC/52+pRQU6Hkyxq62s
14
65
 
15
- ### 該当のソースコード
16
-
17
- ```
18
- ソースコード
19
66
  ```