mirror of
				https://github.com/LamGC/quickly-conf-sshd.git
				synced 2025-10-31 00:26:55 +00:00 
			
		
		
		
	docs: 补充有关单独按照 SSH 密钥的使用说明.
This commit is contained in:
		| @ -6,7 +6,7 @@ | ||||
| - 定期自动更新 SSH 公钥到服务器中; | ||||
| - 集中管理注册到服务器的 SSH 公钥(例如使用 Github 管理 SSH 公钥); | ||||
|  | ||||
| ## Usage | ||||
| ## Quick Usage | ||||
| 部署密钥并设置定期更新: | ||||
| ```bash | ||||
| curl -s https://ssh.lamgc.me | bash -s -- -c | ||||
| @ -15,6 +15,10 @@ curl -s https://ssh.lamgc.me | bash -s -- -c | ||||
| ```bash | ||||
| curl -s https://ssh.lamgc.me | bash -s | ||||
| ``` | ||||
| 跳过检查 SSH Server,只需要安装秘钥的话,就需要单独使用 `-o` 参数: | ||||
| ```bash | ||||
| curl -s https://ssh.lamgc.me | bash -s -- -o | ||||
| ``` | ||||
| 添加 `-p yes` 参数可以设置允许 Root 用户使用密码登录 SSH(需使用 Root 用户执行脚本): | ||||
| ```bash | ||||
| curl -s https://ssh.lamgc.me | bash -s -- -p yes | ||||
| @ -24,6 +28,8 @@ curl -s https://ssh.lamgc.me | bash -s -- -p yes | ||||
| curl -s https://ssh.lamgc.me | bash -s -- -h | ||||
| ``` | ||||
|  | ||||
| > Note: 更多用法请参见脚本帮助信息~ | ||||
|  | ||||
| ## Paths | ||||
| 获取 SSH 公钥: | ||||
| ``` | ||||
|  | ||||
		Reference in New Issue
	
	Block a user