运行 Jelastic 上的 Appscale

Running Appscale on Jelastic

您好,我们已经创建了一个 Jelastic Docker 环境,我们希望在其中 运行 Appscale (https://www.appscale.com/try-appscale):

root@node1234-appscale:~# appscale up
Executing ssh-copy-id for host: 1.8.1.6
root@1.8.1.6's password:
root@1.8.1.6's password:
root@1.8.1.6's password:
root@1.8.1.6's password:

我想知道为什么我们用来登录 SSH 的相同密码在 Docker 中不起作用?

Jelastic Gate system 正在使用 ssh-keys 通过 ssh 连接到容器。 容器内的根用户禁用基于密码的身份验证:

sshd_config

# Authentication:

LoginGraceTime 120

PermitRootLogin without-password

StrictModes no

使用基于密钥的身份验证比仅使用密码是一种更好、更安全的方法。 您可以在我们的文档中找到有关 Jelastic ssh access 的更多信息。

AppScale 不使用密码,但它需要无密码设置才能开始。因此,它第一次尝试复制新生成的 public 密钥以允许正常运行。看起来您的设置失败了(我们确实使用 ssh-copy-id 进行设置)。尝试设置容器,以便您可以在本地使用 ssh(在您的情况下为 ssh 1.8.1.6)而无需密码,然后再次尝试向上扩展应用程序。