Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
流浪者:以下设置为';不存在:ssh_Ssh_Vagrant_Virtual Machine_Virtualbox_Vagrantfile - Fatal编程技术网

流浪者:以下设置为';不存在:ssh

流浪者:以下设置为';不存在:ssh,ssh,vagrant,virtual-machine,virtualbox,vagrantfile,Ssh,Vagrant,Virtual Machine,Virtualbox,Vagrantfile,您好,感谢您抽出时间与我一起研究这个问题。我最近转换到一个新的工作站,发现我的Vagrant文件无法工作。如果重要的话,工作站是新的,但操作系统(RHEL 7.4)保持不变。Vagrant(2.0.1)和VirtualBox(5.2)的相同版本 执行Wagrant up时收到的错误: There are errors in the configuration of this machine. Please fix the following errors and try again: vm:

您好,感谢您抽出时间与我一起研究这个问题。我最近转换到一个新的工作站,发现我的Vagrant文件无法工作。如果重要的话,工作站是新的,但操作系统(RHEL 7.4)保持不变。Vagrant(2.0.1)和VirtualBox(5.2)的相同版本

执行Wagrant up时收到的错误:

There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The following settings shouldn't exist: ssh
下面是Vagrant文件,值得一提的是,如果我注释掉字符串
aggregation01.vm.ssh.insert_key=false
,我可以让第一个设备(aggregation01)成功启动,但这个解决方法在应用于我的其他框时并不一致

由于简洁,仅显示文件的前80行,可以在


我认为简单地从行中删除
.vm
可能会删除错误,这样

aggregation01.vm.ssh.insert_key = false
应该是

aggregation01.ssh.insert_key = false
其他虚拟机也是如此。但看起来您可能已经在git存储库中解决了这个问题,因为那里的ssh行不同

我尝试根据存储库中的Vagrant文件重新创建前两个vm,并成功地做到了这一点,但当我在行中重新输入
.vm
时,我得到了与您相同的错误

aggregation01.ssh.insert_key = false