更新CLAUDE.md,删除wiki/concepts空文件
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
---
|
||||
title: "Ubuntu 24.04 enable SSH"
|
||||
type: source
|
||||
tags: [ssh, ubuntu]
|
||||
date: 2026-04-13
|
||||
source_file: raw/Technical/Home Office/🟠Ubuntu 24.04 enable SSH.md
|
||||
---
|
||||
|
||||
## Summary
|
||||
- 核心主题:Ubuntu 24.04中SSH服务的启用与配置
|
||||
- 问题域:远程服务器访问管理
|
||||
- 方法/机制:安装OpenSSH Server + systemctl管理服务 + UFW防火墙配置
|
||||
- 结论/价值:Ubuntu 24.04默认使用ssh.socket socket激活机制,需了解与传统ssh.service的区别
|
||||
|
||||
## Key Claims
|
||||
- Ubuntu 24.04默认使用ssh.socket激活机制,有连接请求时才启动sshd
|
||||
- 安装OpenSSH Server后通过systemctl enable ssh设置开机自启
|
||||
- 必须通过UFW允许ssh流量,否则防火墙会阻止连接
|
||||
- 可通过disable ssh.socket + enable ssh.service切换回传统运行模式
|
||||
|
||||
## Key Concepts
|
||||
- [[Socket激活机制]]:按需启动服务的systemd机制,ssh.socket监听22端口
|
||||
- [[SSH服务管理]]:systemd管理下的ssh.service与ssh.socket两种运行模式
|
||||
|
||||
## Key Entities
|
||||
- [[Ubuntu-Server]]:SSH服务运行的操作系统
|
||||
- [[OpenSSH]]:SSH协议的开源实现
|
||||
|
||||
## Connections
|
||||
- [[OpenSSH]] ← 安装于 ← [[Ubuntu-Server]]
|
||||
|
||||
## Contradictions
|
||||
Reference in New Issue
Block a user