> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/zh/ports-and-services/ssh-22.md).

# SSH - 22

SSH 枚举笔记，涵盖暴力破解测试、用户枚举、基于密钥的访问和凭据验证。

SSH 通常是一种验证和访问服务：请仔细测试凭据，检查旧版用户枚举问题，并在存在可写权限时使用基于密钥的访问 `authorized_keys` 路径可用。

## 说明

<table data-view="cards" data-full-width="false" data-search="false"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>暴力破解</strong></td><td>使用 Hydra 验证 SSH 凭据。</td><td><a href="/zh/ports-and-services/ssh-22/ssh-brute-force-attack.md">SSH - 暴力破解攻击</a></td></tr><tr><td><strong>用户枚举</strong></td><td>检查旧版 OpenSSH 的用户枚举行为。</td><td><a href="/zh/ports-and-services/ssh-22/ssh-user-enumeration-less-than-7.7-attack.md">SSH - 用户枚举（&lt; 7.7）</a></td></tr><tr><td><strong>密钥访问</strong></td><td>当存在写入权限时，将 SSH 公钥添加到 authorized_keys。</td><td><a href="/zh/ports-and-services/ssh-22/ssh-id-rsa-key-creation.md">SSH - id/_rsa 密钥创建</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/zh/ports-and-services/ssh-22.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
