From be7186282b299b231d065d31e5631115587afef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E5=88=80=E7=8B=90=E7=8B=B8?= Date: Fri, 5 Aug 2022 15:28:56 +0000 Subject: [PATCH] =?UTF-8?q?update=204.PVE=E5=88=B6=E4=BD=9C=E8=99=9A?= =?UTF-8?q?=E6=8B=9F=E6=9C=BA=E6=A8=A1=E6=9D=BF.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 4.PVE制作虚拟机模板.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/4.PVE制作虚拟机模板.md b/4.PVE制作虚拟机模板.md index 960d797..89d15f1 100644 --- a/4.PVE制作虚拟机模板.md +++ b/4.PVE制作虚拟机模板.md @@ -231,7 +231,7 @@ Successfully imported disk as 'unused0:local-lvm:vm-1000-disk-1' ![登录Debian操作系统](img/Template/os_login.png) -在 Debian 服务器的命令行界面,打开 SSH 服务的密码登录功能: +在 Debian 服务器的命令行界面,使用 `nano` 编辑器编辑 ssh 的配置文件,使用以下命令: ```bash ## 编辑 ssh 配置文件 @@ -246,7 +246,7 @@ PasswordAuthentication yes PermitEmptyPasswords no ``` -按下键盘 `ctrl 和 x` 组合键,再按下 `Y` 键,即可保存。 +`nano` 编辑器保存修改时,按下键盘 `ctrl 和 x` 组合键,再按下 `Y` 键,即可保存。 然后,重启 SSH 服务: @@ -293,5 +293,3 @@ deb https://mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free deb https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free #deb-src https://mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free ``` - -按下键盘 `ctrl 和 x` 组合键,再按下 `Y` 键,即可保存。 \ No newline at end of file