Merge branch 'LamGC:main' into main

This commit is contained in:
NANSIYV 2023-10-24 14:02:41 +08:00 committed by GitHub
commit b818fcab2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,10 @@ curl -s https://ssh.nnn.cx | bash -s
```bash
curl -s https://ssh.nnn.cx | bash -s -- -o
```
跳过检查 SSH Server只需要安装秘钥的话就需要单独使用 `-o` 参数:
```bash
curl -s https://ssh.lamgc.me | bash -s -- -o
```
添加 `-p yes` 参数可以设置允许 Root 用户使用密码登录 SSH需使用 Root 用户执行脚本):
```bash
curl -s https://ssh.nnn.cx | bash -s -- -p yes