diff options
Diffstat (limited to 'content/posts/2022-10-28')
| -rw-r--r-- | content/posts/2022-10-28/setup-server-for-this-site.xml | 25 |
1 files changed, 16 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 905010a..b0ad60e 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 @@ -13,6 +13,10 @@ <date>2022-10-28</date> <revremark>公開</revremark> </revision> + <revision> + <date>2023-08-30</date> + <revremark>ssh_config に IdentitiesOnly yes を追加</revremark> + </revision> </revhistory> </info> <section xml:id="intro"> @@ -66,10 +70,11 @@ <programlisting language="ssh_config" linenumbering="unnumbered"> <![CDATA[ Host teika - HostName ********** - User ********** - Port ********** - IdentityFile ~/.ssh/teika.key + HostName ********** + User ********** + Port ********** + IdentityFile ~/.ssh/teika.key + IdentitiesOnly yes ]]> </programlisting> </section> @@ -200,9 +205,11 @@ <programlisting language="ssh_config" linenumbering="unnumbered"> <![CDATA[ Host github.com - HostName github.com - User git - IdentityFile ~/.ssh/github.key + HostName github.com + User git + Port 22 + IdentityFile ~/.ssh/github.key + IdentitiesOnly yes ]]> </programlisting> <para> @@ -210,7 +217,7 @@ </para> <programlisting language="shell-session" linenumbering="unnumbered"> <![CDATA[ - ssh -T github.com + $ ssh -T github.com ]]> </programlisting> </section> @@ -247,7 +254,7 @@ <title>メインユーザが Docker を使えるように</title> <programlisting language="shell-session" linenumbering="unnumbered"> <![CDATA[ - sudo adduser ********** docker + $ sudo adduser ********** docker ]]> </programlisting> </section> |
