Auto-sync

This commit is contained in:
2026-04-15 07:37:53 +08:00
parent 1bce532898
commit f3569a835b
484 changed files with 0 additions and 18663 deletions

View File

@@ -1,36 +0,0 @@
---
title: "Ubuntu 24.04 Enable SSH"
type: source
tags: [Ubuntu, SSH]
date: 2025-03-14
---
## Source File
- [[raw/Home Office/Ubuntu 24.04 enable SSH.md]]
## Summary
- 核心主题Ubuntu 24.04启用SSH服务及配置
- 问题域Ubuntu 24.04默认使用socket激活机制与旧版本不同
- 方法/机制apt install openssh-server + systemctl enable/start ssh
- 结论/价值Ubuntu 24.04 SSH配置要点——socket vs service模式切换
## Key Claims
- 安装sudo apt install openssh-server -y
- 启动sudo systemctl start ssh
- 开机自启sudo systemctl enable ssh
- Ubuntu 24.04默认使用socket激活按需启动可用ssh.socket检查
- 切换回传统模式systemctl disable ssh.socket && systemctl enable ssh.service
- 防火墙sudo ufw allow ssh
## Key Concepts
- [[SSH服务配置]]Ubuntu 24.04 socket vs service模式
- [[Socket激活]]按需启动SSH守护进程
## Key Entities
- [[Ubuntu2404]]Ubuntu 24.04 Server
## Connections
- [[Ubuntu-24.04-Enable-SSH]] ← documents ← [[SSH服务配置]]
## Contradictions
- 无冲突