<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>briteming</author_name>
  <author_url>https://blog.hatena.ne.jp/briteming/</author_url>
  <blog_title>blog.hatena.ne.jp, 分类: https://briteming.hatenablog.com/categories</blog_title>
  <blog_url>https://briteming.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>SSH配置密钥登录 配置密钥登录一方面可以避免每次输入密码的麻烦（记住密钥文件密码的情况下），但最重要的一方面是增强安全性。 服务器上添加用户 1 useradd -g &lt;group&gt; -m &lt;username&gt; 设置密码 1 passwd &lt;username&gt; 本机生成密钥 1 ssh-keygen -t rsa -b 4096 -f ~/.ssh/123.57.121.21_ali_rsa 1234567 -t rsa 指定加密方式为RSA-b 4096 密钥长度（bit）-f 指定密钥文件名各个参数都可以不填，使用默认参数 输入密钥文件密码 保证密钥文件的安全，尤其是无法保证自己电脑安全…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbriteming.hatenablog.com%2Fentry%2F2024%2F10%2F21%2F144538&quot; title=&quot;SSH配置密钥登录以及简单的安全设置 - blog.hatena.ne.jp, 分类: https://briteming.hatenablog.com/categories&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>2024-10-21 14:45:38</published>
  <title>SSH配置密钥登录以及简单的安全设置</title>
  <type>rich</type>
  <url>https://briteming.hatenablog.com/entry/2024/10/21/144538</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
