无法使用默认的vagrant图像安装Aerospike

时间:2016-08-30 00:39:32

标签: vagrant aerospike

在通过a:

安装Aerospike时配置ssh键时似乎存在问题
==> default: Forwarding ports...
    default: 3000 (guest) => 3000 (host) (adapter 1)
    default: 8081 (guest) => 8081 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
    default: 
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default: 
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...

你知道如何解决这个问题吗?

1 个答案:

答案 0 :(得分:2)

这可能取决于你的流浪者版本。

请参阅

https://github.com/mitchellh/vagrant/issues/5059

建议将以下内容添加到Vagrantfile

config.ssh.insert_key = false

Vagrant团队计划在他们的下一个版本流浪汉1.8.6上修复此问题

https://github.com/mitchellh/vagrant/pull/4707