This commit is contained in:
zibright
2025-07-22 17:57:13 +08:00
parent 127dc36845
commit 14f2125e8d
2 changed files with 5 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ cd /opt/mtphotos
vim docker-compose.yaml vim docker-compose.yaml
``` ```
按 I 进入编辑模式并填入以下内容 按 I 进入编辑模式并填入以下内容
```shell ```yaml
version: "3" version: "3"
services: services:

View File

@@ -42,6 +42,7 @@ vim authorized_keys
``` ```
按 I 进入编辑模式,将公钥内容复制进去 按 I 进入编辑模式,将公钥内容复制进去
按 Esc ,输入 :wq 保存并退出 按 Esc ,输入 :wq 保存并退出
##### 编辑SSH-SERVER配置文件 ##### 编辑SSH-SERVER配置文件
进入/etc/ssh文件夹 进入/etc/ssh文件夹
```shell ```shell