我安装了流浪汉VM,但是当我运行:
vagrant ssh它显示配置错误:
command-line: line 0: Bad configuration option: IdentitiesOnly我检查过了:
vagrant ssh-config它显示了我:
C:\Vagrant\Ubuntu1>vagrant ssh-config
Host default
HostName 127.0.0.1
User vagrant
Port 2222
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile C:/Vagrant/Ubuntu1/.vagrant/machines/default/virtualbox/private_key
IdentitiesOnly yes
LogLevel FATAL你能告诉我为什么,知道我第一次使用流浪汉。
发布于 2017-01-16 04:33:35
自2004年(OpenSSH 3.9)起,OpenSSH中就包含了IdentitiesOnly选项。如果你使用的是旧版本,你当然应该更新。
另一种可能是删除碰撞选项,因为它对功能并不重要。
https://stackoverflow.com/questions/41665870
复制相似问题