<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>SSH on Leanku</title>
    <link>https://blog.leanku.com/categories/ssh/</link>
    <description>Recent content in SSH on Leanku</description>
    <image>
      <url>https://blog.leanku.com/papermod-cover.png</url>
      <link>https://blog.leanku.com/papermod-cover.png</link>
    </image>
    <generator>Hugo -- gohugo.io</generator>
    <lastBuildDate>Sun, 11 May 2025 13:46:01 +0800</lastBuildDate><atom:link href="https://blog.leanku.com/categories/ssh/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SSH 使用指南</title>
      <link>https://blog.leanku.com/post/ssh-%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97/</link>
      <pubDate>Sun, 11 May 2025 13:46:01 +0800</pubDate>
      
      <guid>https://blog.leanku.com/post/ssh-%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97/</guid>
      <description>SSH 使用指南：从基础到服务器密钥登录 什么是 SSH？ SSH (Secure Shell) 是一种加密的网络协议，用于在不安全的网络中安全地进行远程登录和其他网络服务。它通过加密技术保护通信安全，防止信息泄露和中间人攻击，是系统管理员和开发人员管理远程服务器的必备工具。
基本 SSH 连接 最基本的 SSH 连接命令格式如下：
ssh username@hostname 例如，要连接到 IP 为 192.168.1.100 的服务器，用户名为 admin：
ssh admin@192.168.1.100 首次连接时会提示验证服务器指纹：
The authenticity of host &amp;#39;192.168.1.100 (192.168.1.100)&amp;#39; can&amp;#39;t be established. ECDSA key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. Are you sure you want to continue connecting (yes/no)? 输入 yes 后，服务器指纹会被保存在本地 ~/.ssh/known_hosts 文件中，以后连接时会自动验证。
SSH 配置文件 SSH 客户端配置文件 ~/.ssh/config 可以简化连接命令。例如：
Host myserver HostName 192.168.1.100 User admin Port 2222 配置后，只需输入 ssh myserver 即可连接。</description>
    </item>
    
  </channel>
</rss>
