<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dai3846</author_name>
  <author_url>https://blog.hatena.ne.jp/dai3846/</author_url>
  <blog_title>dai日記</blog_title>
  <blog_url>https://dai3846.hatenadiary.org/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>先ず、公開鍵-秘密鍵のペアを作成 ssh-keygen -t rsa -C dai3846@gmail.com # RSA暗号化を利用して鍵を作成 ~/.ssh 以下に id_rsa と id_rsa.pub が作成去れている事を確認する。 id_rsa.pub が公開鍵なので、ログインしたいサーバに転送して、autharize_keyに設定する。クライアント側では、以下のコマンドでsshで秘密鍵を追加 ssh-add ~/.ssh/id_rsa パスフレーズを聞かれるので、設定する。これで普通にssh接続すれば、公開鍵認証で接続できます。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdai3846.hatenadiary.org%2Fentry%2F20070710%2F1184056331&quot; title=&quot;公開鍵認証を利用してsshログイン - dai日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-07-10 17:32:11</published>
  <title>公開鍵認証を利用してsshログイン</title>
  <type>rich</type>
  <url>https://dai3846.hatenadiary.org/entry/20070710/1184056331</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
