mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
update 4.PVE制作虚拟机模板.md.
This commit is contained in:
+2
-4
@@ -231,7 +231,7 @@ Successfully imported disk as 'unused0:local-lvm:vm-1000-disk-1'
|
||||
|
||||

|
||||
|
||||
在 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` 键,即可保存。
|
||||
Reference in New Issue
Block a user