mirror of
https://github.com/LamGC/quickly-conf-sshd.git
synced 2025-04-29 14:17:32 +00:00
feat: 添加路径说明.
This commit is contained in:
parent
4d253a8f7e
commit
579c5957ed
23
README.md
23
README.md
@ -15,7 +15,7 @@ curl -s https://ssh.lamgc.me | bash -s -- -c
|
||||
```bash
|
||||
curl -s https://ssh.lamgc.me | bash -s
|
||||
```
|
||||
添加 `-p yes` 参数可以设置允许 Root 用户使用密码登录 SSH:
|
||||
添加 `-p yes` 参数可以设置允许 Root 用户使用密码登录 SSH(需使用 Root 用户执行脚本):
|
||||
```bash
|
||||
curl -s https://ssh.lamgc.me | bash -s -- -p yes
|
||||
```
|
||||
@ -24,6 +24,27 @@ curl -s https://ssh.lamgc.me | bash -s -- -p yes
|
||||
curl -s https://ssh.lamgc.me | bash -s -- -h
|
||||
```
|
||||
|
||||
## Paths
|
||||
获取 SSH 公钥:
|
||||
```
|
||||
https://ssh.lamgc.me/ssh.keys
|
||||
```
|
||||
|
||||
获取 Shell 脚本:
|
||||
```
|
||||
https://ssh.lamgc.me/script.sh
|
||||
```
|
||||
|
||||
获取 Shell 脚本(使用 Curl 访问):
|
||||
```
|
||||
https://ssh.lamgc.me/
|
||||
```
|
||||
|
||||
访问本页面(不使用 Curl 访问):
|
||||
```
|
||||
https://ssh.lamgc.me/
|
||||
```
|
||||
|
||||
## Install
|
||||
### Configuration
|
||||
先 Fork 本仓库,Fork 后在仓库设置中启用 Github Pages,分支指向 main 分支,目录为仓库根目录。
|
||||
|
Loading…
Reference in New Issue
Block a user