diff options
Diffstat (limited to 'content/posts/2022-10-28')
| -rw-r--r-- | content/posts/2022-10-28/setup-server-for-this-site.xml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/content/posts/2022-10-28/setup-server-for-this-site.xml b/content/posts/2022-10-28/setup-server-for-this-site.xml index 6521029..388238b 100644 --- a/content/posts/2022-10-28/setup-server-for-this-site.xml +++ b/content/posts/2022-10-28/setup-server-for-this-site.xml @@ -86,15 +86,9 @@ <programlisting language="shell-session" linenumbering="unnumbered">$ sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak $ sudo vi /etc/ssh/sshd_config</programlisting> <itemizedlist> - <listitem> - <simpara><literal>Port</literal> を変更</simpara> - </listitem> - <listitem> - <simpara><literal>PermitRootLogin</literal> を <literal>no</literal> に</simpara> - </listitem> - <listitem> - <simpara><literal>PasswordAuthentication</literal> を <literal>no</literal> に</simpara> - </listitem> + <listitem><literal>Port</literal> を変更</listitem> + <listitem><literal>PermitRootLogin</literal> を <literal>no</literal> に</listitem> + <listitem><literal>PasswordAuthentication</literal> を <literal>no</literal> に</listitem> </itemizedlist> <simpara>そして設定を反映。</simpara> <programlisting language="shell-session" linenumbering="unnumbered">$ sudo systemctl restart sshd |
