質問編集履歴

1

sshd_configを編集してsshd -tを実行するとCould not load host keyと表示された。

2018/11/20 01:00

投稿

binary
binary

スコア33

test CHANGED
File without changes
test CHANGED
@@ -11,3 +11,15 @@
11
11
  上のコマンドをローカルネットワークで行っているのが問題なのでしょうか?テストにはこのコマンドを用いています。
12
12
 
13
13
  回答よろしくおねがいします。
14
+
15
+
16
+
17
+ sshd_configを編集した後、sshd -tを実行する以下のような文字列が表示されました。
18
+
19
+ Could not load host key: /etc/ssh/ssh_host_rsa_key
20
+
21
+ Could not load host key: /etc/ssh/ssh_host_ecdsa_key
22
+
23
+ Could not load host key: /etc/ssh/ssh_host_ed25519_key
24
+
25
+ と表示されたのですが、これが繋がらない原因なのでしょうか?