小编Kla*_*aaz的帖子

Ubuntu Plesk SSH 问题 (permitRootLogin)

我得到了一个新的 Ubuntu 14.04 服务器,它可以无限制地交付和运行 Plesk。如果我尝试通过 Plesk 的迁移管理器迁移旧服务器,它会报告以下问题:

rsync execution error: Unknown error (255).
Stderr is:
--------------------------------
/etc/ssh/ssh_config: line 55: Bad configuration option: permitrootlogin
/etc/ssh/ssh_config: terminating, 1 bad configuration options
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.0]

--------------------------------
Run Code Online (Sandbox Code Playgroud)

/etc/ssh/ssh_config(目标服务器上的第 55 行):

PermitRootLogin yes
Run Code Online (Sandbox Code Playgroud)

/etc/ssh/sshd_config(也在目标服务器上):

#PermitRootLogin without-password
PermitRootLogin yes
Run Code Online (Sandbox Code Playgroud)

两个 Plesk 是相同的 (12.0.18),原始服务器是 Ubuntu 12.04LTS 目标服务器是 Ubuntu 14.04LTS。

linux ssh migration plesk ubuntu

3
推荐指数
1
解决办法
8428
查看次数

标签 统计

linux ×1

migration ×1

plesk ×1

ssh ×1

ubuntu ×1