更新脚本

This commit is contained in:
starry
2025-07-20 18:23:35 +08:00
committed by GitHub
parent bae04fac89
commit 4bc811fa8b
5 changed files with 239 additions and 32 deletions

View File

@@ -1,7 +1,12 @@
### 一键安装ansible
#### 一键安装ansible
见 [ansible.md](./ansible.md)
#### 一键重装系统
见 [vps.md](./vps.md)
---
### 常用运维脚本
@@ -53,3 +58,14 @@ bash <(curl -sSL https://github.com/sky22333/shell/raw/main/dev/cf-tunnel.sh)
```
iwr -useb https://ghproxy.net/https://raw.githubusercontent.com/sky22333/shell/main/dev/cf-setup.ps1 | iex
```
- 一键修改root密码
```
bash <(curl -sSL https://github.com/sky22333/shell/raw/main/dev/root.sh)
```
使用cdn链接
```
bash <(curl -sSL https://cdn.jsdelivr.net/gh/sky22333/shell@main/dev/root.sh)
```
> 部分机器修改不生效,请打开查找`/etc/ssh/sshd_config.d/xxxx.conf`类似文件
> 打开文件查找`PasswordAuthentication no`此代码将其注释然后重启SSH服务。