From 579c5957ed3c1b3d16f80a0eeaf826ab503915ec Mon Sep 17 00:00:00 2001 From: LamGC Date: Sat, 28 Jan 2023 23:24:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E8=AF=B4=E6=98=8E.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 53be7cd..88ecc4f 100644 --- a/README.md +++ b/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 分支,目录为仓库根目录。