Running Appscale on Jelastic

爱⌒轻易说出口 提交于 2019-12-11 14:29:49

问题


Hello we have created a Jelastic Docker environment where we want to run Appscale (https://www.appscale.com/try-appscale) on it:

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:

I am wondering why the same password we use to login into the SSH would not work in Docker?


回答1:


Jelastic Gate system is using ssh-keys to connect to the container via ssh. Password-based authentication is disabled for root user inside the container:

sshd_config

# Authentication:

LoginGraceTime 120

PermitRootLogin without-password

StrictModes no

It is a better way and more secure to use key-based authentication than a just password. You can find additional information about Jelastic ssh access in our documentation.




回答2:


AppScale do not uses passwords, but it needs a passwordless setup to get started. So the first time around it tries to copy a freshly generated public key to allow proper functioning. It looks like the setup failed in your case (we do use ssh-copy-id to setup). Try to setup the container so that you can ssh locally (in your case ssh 1.8.1.6) with no need for password, and try to appscale up again.



来源:https://stackoverflow.com/questions/44003823/running-appscale-on-jelastic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!