Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit d4bbaa7

Browse files
authored
Fix formatting and clarity in ssh-server.md
Corrected formatting and improved clarity in the SSH server documentation.
1 parent 50a76e9 commit d4bbaa7

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

docs/appendix/ssh-server.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ssh-keygen
4444

4545
> [!tip]
4646
>
47-
>在有些网站上,他们会宣称使用上面的方式生成了 RSA 密钥对,这是基于[比较老的SSH协议规范](https://www.rfc-editor.org/rfc/rfc4252)。自[OpenSSH 9.5](https://www.openssh.com/releasenotes.html#9.5)起,使用上述方法生成的密钥对默认是 Ed25519 加密的。
47+
>在有些网站上,他们会宣称使用上面的方式生成了 RSA 密钥对,这是基于[比较老的 SSH 协议规范](https://www.rfc-editor.org/rfc/rfc4252)。自 [OpenSSH 9.5](https://www.openssh.com/releasenotes.html#9.5)起,使用上述方法生成的密钥对默认是 Ed25519 加密的。
4848
4949
执行上述命令后,系统会提示你进行一系列配置。除非你有配置 passphrase 的需求并且知道自己在做什么,否则连按三个回车即可。
5050

@@ -150,11 +150,10 @@ rm -rf ~/.ssh/*
150150
- 删除特定的 SSH 密钥对,使用
151151

152152
```bash
153-
cd .ssh
154-
dir
153+
ls ~/.ssh
155154
```
156155

157-
此时终端会显示 SSH 中存储的信息,例如:
156+
此时终端会显示 `~/.ssh` 目录中存储的文件,例如:
158157

159158
```bash
160159
id_rsa id_rsa.pub id_ed25519 id_ed25519.pub known_hosts known_hosts.old authorized_keys

0 commit comments

Comments
 (0)