我设置了一个节点并在其上安装了juju。操作系统是一个,所以必须使用:
ubuntu用户名和私钥。
但是当我运行juju引导程序时:我有这样的错误:
ERROR initializing ubuntu user: subprocess encountered error code 255 (Permission denied (publickey).)我的environments.yaml文件:
default: manual
environments:
  manual:
     type: manual
     bootstrap-host: deploy.example.com
     bootstrap-user: training有什么想法吗?
发布于 2016-06-08 02:18:35
你能和另一台机器一样进入另一台机器吗?
ssh deploy.example.com -l ubuntu  如果这不起作用,问题就在您的安全设置中。
我的environments.yaml:
manual:
    type: manual
    # bootstrap-host holds the host name of the machine where the
    # bootstrap machine agent will be started.
    bootstrap-host: somehost.example.com
    # bootstrap-user specifies the user to authenticate as when
    # connecting to the bootstrap machine. It defaults to
    # the current user.
    # bootstrap-user: joebloggs这告诉我,引导用户是谁,你使用登录。在您的例子中,您需要以“培训”而不是“ubuntu”的身份登录。所以试试
ssh deploy.example.com -l training  或者,更重要的是,尝试将您的environments.yaml更改为
bootstrap-user: ubuntuhttps://askubuntu.com/questions/781288
复制相似问题