在 Windows 上引导时解析错误

Cla*_*ams 6 windows juju

我正在尝试让 Juju 在 Windows 8 上工作,但在尝试让 juju 查看我的 ssh 密钥时遇到了一些错误:

C:\Users\username> juju bootstrap
error: error parsing environment "azure":
    read C:\Users\user\SkyDrive\Documents\Azure\ssh\: The handle is invalid.
Run Code Online (Sandbox Code Playgroud)

我已经将我用腻子生成的公钥添加到上面名为 azure 的目录中

我的environments.yaml文件中有这个:

authorized-keys-path: C:\Users\user\SkyDrive\Documents\Azure\ssh\
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

Mar*_*ppi 7

YAML 对格式非常挑剔,每当您有字母数字以外的其他内容时,请务必使用引号。

authorized-keys-path: "C:\Users\user\SkyDrive\Documents\Azure\ssh\"
Run Code Online (Sandbox Code Playgroud)

应该解决问题。