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

質問編集履歴

2

typo

2019/04/30 11:15

投稿

kalon
kalon

スコア198

title CHANGED
File without changes
body CHANGED
@@ -14,7 +14,7 @@
14
14
  vi /etc/ssh/sshd_config
15
15
  ```
16
16
  にて、permitrootloginはnoに設定済みです。
17
- 52行目は**2 # Change to yes if you don't trust ~/.ssh/known_hosts for**と書いてあります
17
+ 52行目は**# Change to yes if you don't trust ~/.ssh/known_hosts for**と書いてあります
18
18
 
19
19
  ```terminal
20
20
  /etc/ssh/ssh_config

1

ssh_config, sshd_configの52行目の内容を記載

2019/04/30 11:14

投稿

kalon
kalon

スコア198

title CHANGED
File without changes
body CHANGED
@@ -14,7 +14,13 @@
14
14
  vi /etc/ssh/sshd_config
15
15
  ```
16
16
  にて、permitrootloginはnoに設定済みです。
17
+ 52行目は**2 # Change to yes if you don't trust ~/.ssh/known_hosts for**と書いてあります
17
18
 
19
+ ```terminal
20
+ /etc/ssh/ssh_config
21
+ ````
22
+ の52行目は**PermitRootLogin no**と書いてあります。
23
+
18
24
  何故エラーが出るのでしょうか?
19
25
 
20
26
  環境は、