feat: 添加路径说明.

This commit is contained in:
LamGC 2023-01-28 23:24:40 +08:00
parent 4d253a8f7e
commit 579c5957ed
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -15,7 +15,7 @@ curl -s https://ssh.lamgc.me | bash -s -- -c
```bash ```bash
curl -s https://ssh.lamgc.me | bash -s curl -s https://ssh.lamgc.me | bash -s
``` ```
添加 `-p yes` 参数可以设置允许 Root 用户使用密码登录 SSH 添加 `-p yes` 参数可以设置允许 Root 用户使用密码登录 SSH(需使用 Root 用户执行脚本)
```bash ```bash
curl -s https://ssh.lamgc.me | bash -s -- -p yes 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 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 ## Install
### Configuration ### Configuration
先 Fork 本仓库Fork 后在仓库设置中启用 Github Pages分支指向 main 分支,目录为仓库根目录。 先 Fork 本仓库Fork 后在仓库设置中启用 Github Pages分支指向 main 分支,目录为仓库根目录。