我是wordmove的新手。我已经在本地服务器上创建了movefile.yml,但是doctor命令说:
▬▬ ✓ Validating movefile section: production ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
error | This remote has not ssh nor ftp protocol defined
▬▬ ✓ Validating movefile section: ssh ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
error | This remote has not ssh nor ftp protocol defined我的远程服务器托管在godaddy上,终端ssh连接工作得很好。有什么建议吗?
发布于 2018-01-05 07:46:02
ssh键的缩进错误。我得到它是因为医生正在考虑将ssh作为一个部分(因此是YAML中的根键),所以它应该是这样的:
production:
vhost:
wordpress_path:
[...]
ssh:但是ssh必须嵌套在production中
production:
vhost:
wordpress_path:
[...]
ssh:如果是这样的话,那么医生是对的:你的production缺少ssh部分。
https://stackoverflow.com/questions/47940212
复制相似问题